-ms-box-flex property

Do not use. This property has been replaced by the -ms-flex property, and is no longer recognized by Windows Internet Explorer. To ensure compatibility in the future, applications using this property should be updated accordingly. Gets or sets a value that specifies whether the width or height of a child element is flexible based on the space available in the object. This value also indicates the proportion of space available that is allocated to the child element.

This property is read/write.

Flexible Box Layout Module, Section 5Internet Explorer 10


-ms-box-flex: <integer>

Property values


A floating point value that indicates the relative flexibility of a child element.

A value of 0.0 indicates the element is not flexible. Any other value indicates the relative flexiblity of the child element compared to the flexibility of other child elements.

A negative value is not valid.

CSS information

Applies Toin-flow children of box elements
Initial Value0.0

Standards information

See also




Send comments about this topic to Microsoft

Build date: 9/6/2012