Created
January 10, 2017 20:38
-
-
Save andonovn/846ce067bcc34da876ed70e6cc82fef9 to your computer and use it in GitHub Desktop.
CSS rotate - useful for loaders
This file contains hidden or 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
.is-rotating { | |
-webkit-animation:spin 1s linear infinite; | |
-moz-animation:spin 1s linear infinite; | |
animation:spin 1s linear infinite; | |
} | |
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } } | |
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } } | |
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment