The min-width
property defines the minimum width of an element. If the content width is less than the min-width
then the min-width
property will have no effect.
min-width: value | none;
.mydiv {
border: 1px solid black;
min-width: 150px;
}
value: sets the given value as the minimum width of the element.
none: sets no minimum height. (default value)