Last active
March 25, 2024 11:58
-
-
Save Polkovn1k/59bb7508a179e0a20f298d527a4ca0d8 to your computer and use it in GitHub Desktop.
Css Rotate animation (CSS)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.someElem { | |
animation-name: rotation; | |
animation-duration: 1s; | |
animation-iteration-count: infinite; | |
animation-timing-function: linear; | |
} | |
@keyframes rotation { | |
0% { | |
transform:rotate(0deg); | |
} | |
100% { | |
transform:rotate(360deg); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment