CSS min-width property

CSS min-width

CSS min-width is used to specify the minimum width of the element.

If the content is smaller than the given minimum width, min-width property will be applied. Else it wont.

It prevents the height of the element becomes smaller than the min-width property.

Example

Try Yourself