/

HTML / CSS / JavaScript Tutorial

CSS Property: flex-wrap

[this page | pdf | back links]

The CSS (CSS3) flex-wrap property indicates whether flexible items should wrap. If an element is not a flexible element then this property has no effect.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

nowrap

(default value). Will not wrap

wrap

Will wrap if necessary

wrap-reverse

Will wrap if necessary, but in reverse order

 

Default Value:

nowrap

JavaScript syntax:

e.g. object.style.flexWrap="wrap-reverse"

Inherited:

No

Animatable:

No

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile