Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
how do I handle IMG srcset and widths together? - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
7 replies
syg
how do I handle IMG srcset and widths together?
Lighthouse is yelling at me to add widths to my images where I use srcset
, doesn
't this negate srcset and constrain the width to the width attributes value in pixels
? How are you supposed to use these together
?
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Troubleshooting Cross-Browser Compatibility with srcset Attribute in HTML img Tag
KP-C
Kevin Powell - Community / front-end
2y ago
How do I center an img in an anchor?
KP-C
Kevin Powell - Community / front-end
4y ago
Srcset not working
KP-C
Kevin Powell - Community / front-end
3y ago
How to make images responsive using srcset and size attribute??
KP-C
Kevin Powell - Community / front-end
2y ago