Example

A simple flex-wrap property example:

Laboratory

description & Usage

We use the flex-wrap property to close or open flexible elements in CSS documents.

Informations

# Description
Default Value nowrap
Inherited no
Animatable no
Version CSS3
JavaScript syntax object.style.flexWrap="nowrap"

Syntax

Values

Values Description
nowrap Default
wrap This value specifies that all flexible items should be closed.
wrap-reverse We use this value to close flexible items in reverse.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.