DEV Community

loading...

Discussion on: Quick Tips: How to fix "Image elements do not have explicit width and height" in Page Speed Insights / Lighthouse

Collapse
afif profile image
Temani Afif

You don't really need to set height:0;overflow:hidden since your div is empty

Collapse
inhuofficial profile image
InHuOfficial Author

Thanks as always bud, I added a note next to them for clarity.