Style flexGrow Property
Style flexGrow Property
The flexGrow property is used to specify how much the item will grow relative to the rest of the flexible items inside the same container. It will only work if items are flexible.
Syntax:-
Its syntax is:- object.style.flexGrow OR object.style.flexGrow = number|initial|inherit
Return:-
Its return is:- string having flex-grow property of an element
Further Explanation:-
Value | Description |
---|---|
number | A number specifies how much the item will grow relative to the rest of the flexible items. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |