Template:Bouncetext.css: Difference between revisions
From SNCApedia, the shit nobody cares about encyclopedia
Jump to navigationJump to search
OPShredder (talk | contribs) OPShredder changed the content model of the page Template:Bouncetext.css from "wikitext" to "CSS" |
OPShredder (talk | contribs) OPShredder changed the content model of the page Template:Bouncetext.css from "CSS" to "Sanitized CSS" |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.bouncetext span { | |||
display: inline-block; | display: inline-block; | ||
animation: bounce 1.5s infinite; | animation: bounce 1.5s infinite; | ||
| Line 41: | Line 41: | ||
} | } | ||
} | } | ||
Latest revision as of 11:04, 24 December 2025
.bouncetext span {
display: inline-block;
animation: bounce 1.5s infinite;
}
@keyframes bounce {
0% {
transform: translate(0px, 0px);
}
10% {
transform: translate(0px, 3px);
}
20% {
transform: translate(0px, -3px);
}
30% {
transform: translate(-1px, 2px) rotate(-1deg);
}
40% {
transform: translate(1px, -2px) rotate(1deg);
}
50% {
transform: translate(-2px, 1px) rotate(-2deg);
}
60% {
transform: translate(2px, -1px) rotate(2deg);
}
70% {
transform: translate(1px, 2px) rotate(1deg);
}
80% {
transform: translate(-1px, -2px) rotate(-1deg);
}
85% {
transform: translate(2px, 1px) rotate(2deg);
}
90% {
transform: translate(-2px, -1px) rotate(-2deg);
}
100% {
transform: translate(0px, 0px);
}
}