Created
April 13, 2020 11:51
-
-
Save epsilon-phase/bc73b76543d6eeaf7d1b6edada5550d3 to your computer and use it in GitHub Desktop.
Make the mastodon emojis dance
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
@keyframes emojo_annoy { | |
0% { | |
transform: scale(1.0); | |
} | |
75% { | |
height: 60px; | |
width: 30px; | |
transform: scale(1.5, 3.0); | |
} | |
100% { | |
width: 30px; | |
height: 30px; | |
transform: scale(1.5); | |
} | |
} | |
@keyframes emoji_rare{ | |
0%{ | |
transform:rotate(0.0deg); | |
} | |
100%{ | |
transform:rotate(50deg); | |
} | |
} | |
article:nth-child(3n) div.status img.emojione { | |
animation-name: emojo_annoy; | |
animation-duration: 1s; | |
animation-iteration-count: infinite; | |
animation-direction: alternate-reverse; | |
} | |
article:nth-child(3n+1) div.status img.emojione { | |
animation-name: emojo_annoy; | |
animation-duration: 1.5s; | |
animation-iteration-count: infinite; | |
animation-direction: alternate-reverse; | |
} | |
article:nth-child(3n+2) div.status img.emojione { | |
animation-name: emojo_annoy; | |
animation-duration: 8s; | |
animation-iteration-count: infinite; | |
animation-direction: alternate-reverse; | |
} | |
article:nth-child(5n) div.status img.emojione{ | |
animation-name:emojo_annoy,emoji_rare; | |
animation-duration:4s; | |
animation-direction:alternate-reverse; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment