Created
September 8, 2014 13:34
-
-
Save michaeltcoelho/e5e74646cb88a7c97a7f to your computer and use it in GitHub Desktop.
A Pen by Michael.
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
<div class="pingo"></div> |
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
/* | |
Tickle animation | |
- test sass and animation */ | |
div { | |
position: relative; | |
top: 20%; | |
width: 200px; | |
height: 200px; | |
background-color: #3498db; | |
border-radius: 50%; | |
margin: 0 auto; | |
float: none; | |
transform: rotate(45deg); | |
-webkit-animation: pingo 2s linear infinite; | |
-moz-animation: pingo 2s linear infinite; | |
animation: pingo 2s linear infinite; | |
} | |
@-webkit-keyframes pingo { | |
from { | |
border-radius: 50%; | |
top: 50px; | |
} | |
to { | |
border-radius: 0 50% 50% 50%; | |
top: 900px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment