Sizing
5.12
Lesson

Minimum Width

The min-width property is used to define the minimum width of an element.

If the content is larger than the min-width value, this property has no effect. But if the content is smaller than the min-width value, the minimum width is applied.

When both min-width and width are defined, the larger of the two values is applied.

View the editor in full screen mode and change the width of the output panel to feel the difference.