Last active
November 20, 2016 14:13
-
-
Save rhostem/9f8977d418e64c35fc4a75e9a8e8312d to your computer and use it in GitHub Desktop.
animtaion-clockwise.css - 90도씩 딜레이를 주고 회전하는 애니메이션
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 clockwise { | |
0% { transform: rotate(0); } | |
10% { transform: rotate(90deg); } | |
25% { transform: rotate(90deg); } | |
35% { transform: rotate(180deg); } | |
50% { transform: rotate(180deg); } | |
60% { transform: rotate(270deg); } | |
75% { transform: rotate(270deg); } | |
85% { transform: rotate(360deg); } | |
100% { transform: rotate(360deg); } | |
} |
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
icon { | |
animation-name: clockwise; | |
animation-duration: 4s; | |
animation-iteration-count: infinite; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment