Either use background image, or the fancy new object-fit on <img> tags, which works almost exactly the same as background image:
Sadly, IE doesn’t support this yet. In the near future, hopefully!
Either use background image, or the fancy new object-fit on <img> tags, which works almost exactly the same as background image:
Sadly, IE doesn’t support this yet. In the near future, hopefully!