by khalwat · 7y ago · 0 comments
As for not following my own advice, that's not quite right. I'm using picture and img tags rather than div's with CSS background-image, which is the main thrust of the article.
I'm also using srcset for performance, and webp as a progressive enhancement for browsers that support it.
The only thing I'm not doing is using the new loading="lazy" because the website was creating long before the article.
But I would still want to use an actual picture element with srcset & source attributes/tags for the reasons mentioned in the article.