CSS Box-Flex Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.

Syntax

box-flex: [value];

Possible values

  • [number]

Initial Value

0.0

Applies To

Children of box elements

Inherited

No

Media

Visual

Example

.class {
  box-flex: 1;
}


View All CSS Properties