Re:Problems with the CSS background-image property
by systemcluster on Sunday July 28, 2019 @08:19AM
(#20547146)
`img` tags are (or partially were, with the recent introduction of the object-fit property) significantly harder to properly style and position. Contrary to your argument, achieving certain layouts with `img` tags required significant style hacks, while using `div`s with with a background-image has always been straightforward.
[ Parent
| on HN ]
There are no comments on this comment yet.