Don’t use picture (most of the time)

Jason Grigsby explains is great clarity the reasons where you would use the different responsive image specification implementations. Of course you could use <picture> but the chances are for most of the implementations you won’t need it.

And in this case, where we ended up is with a specification called ‘picture’ that contains much more than the <picture> element. The picture specification includes srcset and sizes and you can use those attributes without using the<picture> element.

An excerpt from Don’t use picture (most of the time)

View original article

Subscribe to our Newsletter

Add your email address and receive an email every Friday covering off everything worth knowing about building your websites responsively.