CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS min width Property

CSS min-width Property

 

 

The min-width property is used to specify the minimum width of an element. If the content is larger than the minimum width, it will overflow. However, it can be managed by overflow property. If the content is smaller than the minimum width, the min-width property has no effect.

 

Default Value:-

 

Its default value is 0.

 

Syntax:-

 

Its syntax is:- min-width: length | initial | inherit;

 

Further Explanation:-

 

Value Description
length Defines the minimum width in px, etc.
% Defines the minimum width in percent of the containing block
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS