mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
disable img bg animation
causes performance issues
This commit is contained in:
Vendored
+2
-1
@@ -333,7 +333,8 @@ a:not(:has(img)):not([class*="btn"]):not(.nav-link) {
|
||||
// rules for image placeholder
|
||||
img {
|
||||
background-color: map-get($custom-colors, neutral-700);
|
||||
animation: placeholder-glow-custom 2s ease-in-out infinite;
|
||||
/* TODO: properly disable animation once image is loaded to avoid performance issues */
|
||||
/* animation: placeholder-glow-custom 2s ease-in-out infinite; */
|
||||
}
|
||||
|
||||
@keyframes placeholder-glow-custom {
|
||||
|
||||
Reference in New Issue
Block a user