mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
⚡ Perf: add custom css variable --animation-reward (#216)
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
}
|
||||
|
||||
&:hover span[data-animation] {
|
||||
animation: jackInTheBox 0.8s infinite linear;
|
||||
animation: var(--animation-reward, jackInTheBox) 0.8s infinite linear;
|
||||
// The animation may affect :hover of img in dark mode
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user