3 ms·
The article mentions targeting both `<picture>` and `<img>` elements, but that is redundant - just target `<img>`s. `<picture>` has to have one `<img>` node any
by Gualdrapo 1y ago
The article mentions targeting both `<picture>` and `<img>` elements, but that is redundant - just target `<img>`s. `<picture>` has to have one `<img>` node anyway.
- bryanhogan 1y agoThanks for this! Gonna update the post.
- byhemechi 1y agoI personally always use picture { display: contents; } so that flexbox behaves in a way you would expect.