Created
April 17, 2019 13:24
-
-
Save matiaskorhonen/a10241dce69a668d06ff076b3c930828 to your computer and use it in GitHub Desktop.
CSS animation skew thingey https://css-tricks.com/almanac/properties/t/transform/
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
body { | |
transform: skew(20deg); | |
animation: shake 2s infinite; | |
animation-direction: alternate; | |
} | |
@keyframes shake { | |
0% { | |
transform: skewX(20deg); | |
} | |
100% { | |
transform: skewX(-20deg); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment