devilbissweb.dev
About
Blog
Showcase
About
Blog
Showcase
Fixed height images and object-fit: cover
2021-02-24
:: Hannah DeVilbiss
#
css
#
object-fit
Treat HTML images more like blocks without using a div by using the height, object-fit, and width properties.
Read more →