Skip to content

Instantly share code, notes, and snippets.

@epsilon-phase
Created April 13, 2020 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save epsilon-phase/bc73b76543d6eeaf7d1b6edada5550d3 to your computer and use it in GitHub Desktop.
Save epsilon-phase/bc73b76543d6eeaf7d1b6edada5550d3 to your computer and use it in GitHub Desktop.
Make the mastodon emojis dance
@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