Created
June 7, 2012 21:24
-
-
Save weiland/2891620 to your computer and use it in GitHub Desktop.
Untitled
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
@-webkit-keyframes swinging { | |
from { | |
-webkit-transform: rotate(-12deg); | |
} | |
to { | |
-webkit-transform: rotate(32deg); | |
} | |
} | |
@-moz-keyframes swinging { | |
from { | |
-moz-transform: rotate(-12deg); | |
} | |
to { | |
-moz-transform: rotate(32deg); | |
} | |
} | |
@-o-keyframes swinging { | |
from { | |
-o-transform: rotate(-12deg); | |
} | |
to { | |
-o-transform: rotate(32deg); | |
} | |
} | |
@keyframes swinging { | |
from { | |
transform: rotate(-12deg); | |
} | |
to { | |
transform: rotate(32deg); | |
} | |
} | |
.swing { | |
-webkit-animation: swinging 1s ease-in-out infinite alternate; | |
-moz-animation: swinging 1s ease-in-out infinite alternate; | |
-o-animation: swinging 1s ease-in-out infinite alternate; | |
animation: swinging 1s ease-in-out infinite alternate; | |
} | |
#vomit { | |
width: 300px; | |
height: 300px; | |
background: #CCC; | |
margin: 100px auto 0px; | |
padding: 20px; | |
} |
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 id="vomit" class="swing"> | |
HI | |
<br> | |
hello | |
</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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment