Style flexFlow Property
Style flexFlow Property
The flexFlow property is a shorthand property. It is used to specify the direction of flexible items and also determine whether or not the element is wrapped. It will only work if items are flexible. Properties included are:-
- flexDirection
- flexWrap
Syntax:-
Its syntax is:- object.style.flexFlow OR object.style.flexFlow = flex-direction flex-wrap|initial|inherit
Return:-
Its return is:- string having flex-flow property of an element
Further Explanation:-
Value | Description |
---|---|
flex-direction | Its possible values are row, row-reverse, column, column-reverse, initial, inherit. |
flex-wrap | Its possible values are nowrap, wrap, wrap-reverse, initial, inherit. |
initial | Sets this property to its default value. |
inherit | Inherits this property from its parent element. |