Intermediate
HTML & CSS
Q61 / 100
What does "min-width" and "max-width" allow you to do for responsive design?
Correct! Well done.
Incorrect.
The correct answer is B) Constrain an element's width so it never shrinks below min-width or grows beyond max-width, while still allowing it to be flexible (e.g. percentage-based) between those bounds
B
Correct Answer
Constrain an element's width so it never shrinks below min-width or grows beyond max-width, while still allowing it to be flexible (e.g. percentage-based) between those bounds
Explanation
min-width and max-width set boundaries on a flexible width (often a percentage), allowing fluid layouts that don't become too small or too large.
Progress
61/100