CSS min-width Property

CSS's min-width property is used to specify an element's minimum width. The width value cannot be less than the value of min-width. If the content of the element is smaller, min-width keeps the specified minimum width.




Property Values

Value Description
none There is no maximum width. This is the default setting.
length Defines the maximum width in pixels, centimeters, and so on. Learn more about length units.
% Defines the maximum width of the containing block in percentage terms.
initial This property is set to its default value.
inherit This property is inherited from its parent element.

Supported Browsers

Property Chrome Firefox Safari Edge / IE Opera
min-width 1.0 1.0 2.0 7.0 4.0