![Ajay Yadav 🇮🇳 on Twitter: "💚CSS Tip💚 🛠 max-width: 100%; ⇒ Your image is never wider than its container. 🛠 height: auto; ⇒ Your image will always be in the original ratio. Ajay Yadav 🇮🇳 on Twitter: "💚CSS Tip💚 🛠 max-width: 100%; ⇒ Your image is never wider than its container. 🛠 height: auto; ⇒ Your image will always be in the original ratio.](https://pbs.twimg.com/media/FQcUoIoagAA33LO.jpg:large)
Ajay Yadav 🇮🇳 on Twitter: "💚CSS Tip💚 🛠 max-width: 100%; ⇒ Your image is never wider than its container. 🛠 height: auto; ⇒ Your image will always be in the original ratio.
![Responsive Web Design Principles: Make an Image Responsive (stuck) - HTML- CSS - The freeCodeCamp Forum Responsive Web Design Principles: Make an Image Responsive (stuck) - HTML- CSS - The freeCodeCamp Forum](https://global.discourse-cdn.com/freecodecamp/original/3X/8/0/803590f8ce8341d7cd20b990f72a2c421ce66c88.jpeg)
Responsive Web Design Principles: Make an Image Responsive (stuck) - HTML- CSS - The freeCodeCamp Forum
![Comment redimensionner automatiquement une image pour l'adapter à un bloc DIV avec CSS - WayToLearnX Comment redimensionner automatiquement une image pour l'adapter à un bloc DIV avec CSS - WayToLearnX](https://waytolearnx.com/wp-content/uploads/2019/07/Comment-redimensionner-automatiquement-une-image-pour-ladapter-%C3%A0-un-bloc-DIV-avec-CSS-800x445.jpg)