Last active
August 29, 2015 14:27
-
-
Save volkanozcan/663b237b438db559358d to your computer and use it in GitHub Desktop.
css:animation template for canvas
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
canvas { | |
margin-left: 25px; | |
margin-top: 25px; | |
border-radius: 10%; | |
-webkit-animation: spin 100s linear infinite; | |
-moz-animation: spin 100s linear infinite; | |
animation: spin 100s 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