Preview:
/* Hide lazyload images when JS fails (noscript will kick in then)  */
.no-js img.lazyload {
    display: none;
}

/* Prevent flash of broken image when src is not yet swapped by lazysizes */
img[src=""],
img:not([src]) {
  visibility: hidden;
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter