Last active
December 24, 2016 14:12
-
-
Save YeomanYe/9ef6c47c4d6bf4343d64e7d180ab6311 to your computer and use it in GitHub Desktop.
CSS:animation spinElem
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
@keyframes spin { | |
from { | |
transform: rotate(0turn) | |
translateY(-150px) translateY(50%) | |
rotate(1turn); | |
} | |
to { | |
transform: rotate(1turn) | |
translateY(-150px) translateY(50%) | |
rotate(0turn); | |
} | |
} | |
.avatar { animation: spin 3s infinite linear; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment