back

Min-Width

Min-width is used the set the minimum width of an element.
The elements width will not become smaller than min-width.

It will override the max-width attribute.
The options are:
(1) Length, allows you to set it as a value like px or cm
(2) Percentage, allows you to set the min-width as a percentage of its containing element.
(3) Inherit, the value will be inherited from its parent element.

Example