Created
February 8, 2012 00:12
-
-
Save tbeseda/1763287 to your computer and use it in GitHub Desktop.
slowly wobble an element with CSS -- shamelessly ripped from love.travis-ci
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
/* just webkit, 'cause yeah... */ | |
@-webkit-keyframes wobble { | |
0% { -webkit-transform: rotate(0deg); } | |
20% { -webkit-transform: rotate(2deg); } | |
50% { -webkit-transform: rotate(-2deg); } | |
100% { -webkit-transform: rotate(0deg); } | |
} | |
.wobble { -webkit-animation: wobble 5s infinite; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment