Created
March 17, 2017 16:57
-
-
Save gregwhitworth/1a832b4956db34d4d32f6b9228b321d2 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
.tail | |
{ | |
transform: translateY(10px) rotate(var(--tail-rotate)); | |
transform-origin: 60% 84%; | |
animation: wagTail 250ms infinite; | |
} | |
@keyframes wagTail | |
{ | |
from | |
{ | |
--tail-rotate: 15deg; | |
} | |
to | |
{ | |
--tail-rotate: 25deg; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment