CSS Min-Width Property

CSS 1

CSS 2

CSS 3

No Yes Yes

Description

Specifies the minimum width to be used for an element.

Syntax

min-width: [value];

Possible values

  • [length]
  • [percentage]
  • inherit

Initial Value

0

Applies To

All elements except non-replaced inline elements and table elements

Inherited

No

Media

Visual

Example

h1 {min-width: 50px;}


View All CSS Properties