![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)
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
![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](https://miro.medium.com/max/394/0*EPYBPF6dVduFEMTJ.png)
Simple CSS Solutions: How to fit images with different dimensions in set containers | by Kimberly Luu | Medium
![html - How to keep content in a container, but extend it's background full width in CSS? - Stack Overflow html - How to keep content in a container, but extend it's background full width in CSS? - Stack Overflow](https://i.stack.imgur.com/hc5kv.jpg)