mirror of
https://github.com/ohwgiles/laminar.git
synced 2025-06-13 12:54:29 +00:00
re: #56 try a css hack to force GPU hardware acceleration for the .spin animation
This commit is contained in:
parent
2ee950d1c3
commit
9d7134ecc7
@ -59,8 +59,12 @@
|
|||||||
span.failed { color: firebrick; }
|
span.failed { color: firebrick; }
|
||||||
span.aborted { color: indigo; }
|
span.aborted { color: indigo; }
|
||||||
span.spin {
|
span.spin {
|
||||||
|
backface-visibility: hidden;
|
||||||
|
perspective: 1000;
|
||||||
color: steelblue;
|
color: steelblue;
|
||||||
|
transform: translateZ(0);
|
||||||
animation: 2s linear infinite spin;
|
animation: 2s linear infinite spin;
|
||||||
|
will-change: transform;
|
||||||
}
|
}
|
||||||
@keyframes spin {
|
@keyframes spin {
|
||||||
to { transform: rotate(360deg); }
|
to { transform: rotate(360deg); }
|
||||||
|
Loading…
Reference in New Issue
Block a user