Created
November 20, 2017 15:09
-
-
Save kieranstartup/408d2a43bd2d61f06039eaa4a46fdf74 to your computer and use it in GitHub Desktop.
Hide slick slides when they have the attribute data-lazy which means they have no loaded yet and causes a FOUC with grey outline. This attribute is then removed once the image has loaded.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| img[data-lazy]{ | |
| opacity: 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment