CSS min-width Property
To set the minimum width of an element
Definition and Notes.
1. The CSS min-width property is used to set the minimum width.It means that, the element's box may be wider than this value, but can't be any narrower.
2. If contents are are not as wide as min-width, the box shrinks to meet the min-width value.
CSS min-width property.
View in Splitscreen»
Code-Editor:Note-Its not mandatory to include both the minimum and maximum values.
|none||No value is defined. Its the default.|
|length||To set the length in terms of px, cm, em etc.|
|percentage||To set the value of min-width in terms of percentage of the containing block.|
|inherit||The child element inherits the value of the parent element.|
|Value||<length> | <percentage> | none | inherit|
|Applies to||All elements expect inline nonreplaced elements and table elements|
|Computed Value||Same as declared Value|