Login
Roast topics
Find topics
Find it!
From:
www.aleksandrhovhannisyan.com
(Uncensored)
subscribe
Set a Width and Height on Images to Reduce Layout Shifts | Aleksandr Hovhannisyan
https://www.aleksandrhovhannisyan.com/blog/setting-width-and-height-on-images/
links
backlinks
Roast topics
Find topics
Roast it!
When you set a width and height on image tags, browsers are able to reserve the correct amount of space ahead of time to minimize layout shifts as the images are downloaded.