How to prevent img in a picture element to get bigger that that actual asset's dimensions? Similar as when loading an img element width height and width set to auto?
img
picture
auto
<img src="https://dummyimage.com/160x90/000/fff" />
The 160w messes up the code:
First Image:
Second Image:
2.1m questions
2.1m answers
60 comments
57.0k users