Style flexWrap Property
Style flexWrap Property
The flex-wrap property is used to specify whether the flexible items should wrap or not. It is only usable if items are flexible. Its default value is nowrap.
Syntax:-
Its syntax is:- flex-wrap: nowrap | wrap | wrap-reverse | initial | inherit;
Return:-
Its return is:- object.style.flexWrap OR object.style.flexWrap = nowrap|wrap|wrap-reverse|initial|inherit
Further Explanation:-
Value | Description |
---|---|
nowrap | Specifies that the flexible items will not wrap |
wrap | Specifies that the flexible items will wrap if necessary |
wrap-reverse | Specifies that the flexible items will wrap, if necessary, in reverse order |
initial | Sets this property to its default value. |
inherit | Inherits this property from its parent element. |