Last active
November 15, 2018 05:08
-
-
Save gonnavis/635f2008189c9adc3269ad74487c35a5 to your computer and use it in GitHub Desktop.
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
.shaking {animation: shaking 1s linear infinite;} | |
@keyframes shaking{ | |
0%{transform:translate(0px, 0px);} | |
40%,49%{transform:translate(0px, 0px);} | |
50%,59%{transform:translate(-5px, 0px);} | |
60%,69%{transform:translate(5px, 0px);} | |
70%,79%{transform:translate(-5px, -5px);} | |
80%,89%{transform:translate(0px, 5px);} | |
90%,99%{transform:translate(5px, 5px);} | |
100%{transform:translate(-5px, 5px);} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment