Center and crop images with a single line of CSS: `img { object-fit: cover }` Posted by chrisnager on Thursday January 22, 2015 @01:48PM from the medium.com dept. https://medium.com/@chrisnager/center-and-crop-images-with-a-single-line-of-css-ad140d5b4a87 ( no comments | 2 points | on HN )
There are no comments yet.