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 from, the width of the element being smaller than the min-width property.


Try Yourself