style(capture countdown): Add animation

This commit is contained in:
Tixie 2019-04-26 22:15:17 +02:00
parent 6daaa915ae
commit bcf0c8947d

View file

@ -140,4 +140,25 @@
text-shadow: 0 0 1rem var(--color-tertiary);
font-weight: bold;
font-size: 10rem;
transform-origin: center center;
animation: 1s ease-in infinite forwards counterFlash;
}
@keyframes counterFlash {
0% {
opacity: 0;
transform: scale(0);
}
30% {
opacity: 1;
transform: scale(1);
}
97% {
opacity: 0;
transform: scale(1);
}
100% {
opacity: 0;
transform: scale(0);
}
}