![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
![html - Fit Image in DIV as a background which contains height less than division (Different) - Stack Overflow html - Fit Image in DIV as a background which contains height less than division (Different) - Stack Overflow](https://i.stack.imgur.com/g63cF.png)
html - Fit Image in DIV as a background which contains height less than division (Different) - Stack Overflow
![How to make an image fit proportionally in flexbox item or in sections - HTML & CSS - SitePoint Forums | Web Development & Design Community How to make an image fit proportionally in flexbox item or in sections - HTML & CSS - SitePoint Forums | Web Development & Design Community](https://global.discourse-cdn.com/sitepoint/original/3X/b/d/bd24b7de3c873378f52f80416a0b8701e3872805.png)
How to make an image fit proportionally in flexbox item or in sections - HTML & CSS - SitePoint Forums | Web Development & Design Community
![html - when set background image in div at time i have to give static height of div otherwise it not take automatic height - Stack Overflow html - when set background image in div at time i have to give static height of div otherwise it not take automatic height - Stack Overflow](https://i.stack.imgur.com/06d2a.jpg)