Did you know that you can also lazy load IFRAMEs using the same
loading="lazy" attribute and value?
<iframe src="https://davidwalsh.name/" loading="lazy" onload="alert('Loaded!');" />
You can see how lazy loading IFRAMEs works with this demo:
This single attribute to perform a complex but useful operation is the ideal solution for lazy loading just about anything. I’m so thankful that browsers are implementing APIs that make using best practices so easy!
CSS animations are a lot of fun; the beauty of them is that through many simple properties, you can create anything from an elegant fade in to a WTF-Pixar-would-be-proud effect. One CSS effect somewhere in between is the CSS flip effect, whereby there’s…
As broadband speed continues to get faster, the web continues to be more media-centric. Sometimes that can be good (Netflix, other streaming services), sometimes that can be bad (wanting to read a news article but it has an accompanying useless video with it). And every social service does…
Rojenx is a leading concept artist who work appears in games and publications
Check out his personal gallery here