mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 06:47:52 +01:00
limit pulsing blocks animation frame rate to 30FPS
possibly resolves #1941
This commit is contained in:
parent
7262f61ca0
commit
2c73153db0
2 changed files with 10 additions and 2 deletions
|
@ -114,7 +114,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.flashing {
|
.flashing {
|
||||||
animation: opacityPulse 2s ease-out;
|
/* force compositing */
|
||||||
|
will-change: opacity;
|
||||||
|
transform: translateZ(0);
|
||||||
|
/* effective max frame rate = (#keyframes - 1) x steps / duration */
|
||||||
|
animation: opacityPulse 2s steps(30, end);
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.flashing {
|
.flashing {
|
||||||
animation: opacityPulse 2s ease-out;
|
/* force compositing */
|
||||||
|
will-change: opacity;
|
||||||
|
transform: translateZ(0);
|
||||||
|
/* effective max frame rate = (#keyframes - 1) x steps / duration */
|
||||||
|
animation: opacityPulse 2s steps(30, end);
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue