Last active
April 23, 2017 17:24
-
-
Save sloyless/1cfda52c621f2c05810f3a8f3a3c1ab0 to your computer and use it in GitHub Desktop.
Forever spinning and pulsing graphic
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
| img { | |
| animation-name: rotate; | |
| animation-duration: 0.75s; | |
| animation-fill-mode: none; | |
| animation-iteration-count: infinite; | |
| animation-timing-function: linear; | |
| } | |
| @keyframes rotate { | |
| 0% { | |
| /*transform: scale(1);*/ | |
| transform-origin: center center; | |
| transform: rotate(-360deg) scale(1); | |
| } | |
| 50% { | |
| /*transform: scale(1.1);*/ | |
| transform-origin: center center; | |
| transform: rotate(-180deg) scale(0.1); | |
| } | |
| 100% { | |
| /*transform: scale(1);*/ | |
| transform-origin: center center; | |
| transform: rotate(0) scale(1); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment