![]() |
VOOZH | about |
The min-width property in CSS is used to define the minimum width of an element. The value of the width cannot be less than the value of the min-width. If the content specified within the element is smaller, min-width maintains the specified minimum width.
Syntax:
min-width: length|initial|inherit;Property Values:
Example: In this example, we use the min-width: length property.
Output:a 👁 Image
Example: In this example we are using the min-width: % property.
Output:👁 Image
Example: In this example, we are using min-width: initial property.
Output:👁 Image
Example: In this example, we are using min-width: inherit property.
Output:👁 Image
Supported Browsers: The browser supported by min-width property are listed below: