Style order Property
Style order Property
The order property is used to define the order of a flexible item relative to the rest of the flexible items. This happens inside the same container and only works if items are flexible.
Syntax:-
Its syntax is:- object.style.order OR object.style.order = number | initial | inherit
Return:-
Its return is:- string having order property of an element
Further Explanation:-
Value | Description |
---|---|
number | Specifies order for flexible item. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |