simple CSS animation of sliding into view and out of view, and how to approach it

so i want to make a simple animation of a box with content in it (similair to a spam popup "singles in your area" type of feel) moving in from bottom of the screen (what the user sees without scrolling), take up about about 1/6 of the screen and then after a click somewhere (button?) , animate out again. i think i can solve the javascript on my own. but im unsure on how to CSS animate it and how to make the box responsive on mobile or desktop.
im guessing there are different ways to approach it, so id appriciate if you could name some of em just to get me started, or give me your general approach on how to solve it. (bonus points if you know some resource online to practice css animations on)
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
suicidedog
suicidedogOP2y ago
yes nice thats what i was after. thank you so much!
Want results from more Discord servers?
Add your server