Question · HTML and CSS course · Module 5: Responsiveness
Responsive images - max-width
Which CSS property should you set on an image so it doesn't overflow its parent container?
Answer options
- max-width: 100%
- min-width: 100%
- width: 100%
- overflow: hidden
You can check the correct answer by solving this task in the CodeWorlds game.