diff --git a/styles/base.scarlet b/styles/base.scarlet index 9535bb3c..1b765a80 100644 --- a/styles/base.scarlet +++ b/styles/base.scarlet @@ -38,9 +38,6 @@ a img backface-visibility hidden - // Hide the alt text that is shown while the image is loading - // text-indent -9999px - .hidden display none !important diff --git a/styles/images.scarlet b/styles/images.scarlet index 39934fe1..3412ba89 100644 --- a/styles/images.scarlet +++ b/styles/images.scarlet @@ -2,6 +2,9 @@ visibility hidden opacity 0 + // Hide the alt text that is shown while the image is loading + text-indent -500px + .element-color-preview visibility visible animation color-preview 1000ms forwards