![CSS object-fit and object-position properties: Crop images embedded in HTML | by Martin Michálek | CSS Mine | Medium CSS object-fit and object-position properties: Crop images embedded in HTML | by Martin Michálek | CSS Mine | Medium](https://miro.medium.com/v2/resize:fit:1200/0*qFaAayKdfZgT2Rpy.png)
CSS object-fit and object-position properties: Crop images embedded in HTML | by Martin Michálek | CSS Mine | Medium
![Simple CSS Solutions: How to fit images with different dimensions in set containers | by Kimberly Luu | Medium Simple CSS Solutions: How to fit images with different dimensions in set containers | by Kimberly Luu | Medium](http://jonathannicol.com/cms/wp-content/uploads/2014/06/cropped-thumbnails.png)
Simple CSS Solutions: How to fit images with different dimensions in set containers | by Kimberly Luu | Medium
Web Developer 🔵 on Instagram: "CSS : Object-Fit 🎁 👉FILL Default. Resizes the image to fill the content box. Aspect ratio is not maintained and image may appear stretched or compressed. 👉CONTAIN
![The object-fit property in CSS - Maintain aspect ratio on images or video - Web Design Tutorial - YouTube The object-fit property in CSS - Maintain aspect ratio on images or video - Web Design Tutorial - YouTube](https://i.ytimg.com/vi/gj4zoaigSqI/maxresdefault.jpg)