
CSScomic
6579
31
4
Inspired by an animation I saw earlier on imgur (or maybe on Twitter?), I coded this small animation with HTML + CSS.
Jun 16, 2022 4:50 AM
CSScomic
6579
31
4
Inspired by an animation I saw earlier on imgur (or maybe on Twitter?), I coded this small animation with HTML + CSS.
HairgelAddict
rmmmm
You mean no JavaScript involved?
JoschiGray
No need for this, css transformation and animation with keyframes are very powerful.
rmmmm
Oh wow i didn’t know thanks!
GoodGuyGonzo
Doable with a single element and just rotate/translate
CSScomic
I tried with a single element and failed. The least I can do is two elements and drop-shadow https://codepen.io/alvaromontoro/pen/vYdPNPM
GoodGuyGonzo
I made a pen to show/hide/rotate/translate pseudo els for up/down using keyframes, works until the dn to down part, ignore my silly comment