CSS order Property


This property specifies the position of each flexible item within the flexible container in relation to other items. It only gives the position of the items in the container and categorizes them in the order desired by the user. If the element is not a flexible item, this property is no longer available.

Syntax

Example

Preview

Property Values

Value Description
number The default value is 0. Specifies the flexible item's order.
initial This property is set to its default value.
inherit This property is inherited from its parent element.

Supported Browsers

Property Chrome Firefox Safari Edge / IE Opera
order 29.0 
21.0 -webkit-
28.0 
18.0 -moz-
9.0 
6.1 -webkit-
11.0 17.0