DEV Community

Discussion on: Optimizing images for the web - an in-depth guide

Collapse
 
malvoz profile image
Robert Linder • Edited

Also, to improve performance and avoid content shifts - remember to set the width and height attributes for <img>, more info in this video from Jen Simmons of the CSS Working Group: youtube.com/watch?v=4-d_SoCHeWE