add an animation to score changes

This commit is contained in:
ducklet 2021-02-02 23:05:00 +01:00
parent 878ce89bab
commit 2bf3d301e6
5 changed files with 63 additions and 24 deletions

View file

@ -38,6 +38,10 @@ iframe {
right: 0.2em;
text-align: right;
font-size: 36px;
transition: font-size 0.2s cubic-bezier(0.45, 1.07, 0.27, 1.55);
}
.points.big {
font-size: 80px;
}
.points.bg {
-webkit-text-stroke: 10px var(--main-bg-color);