175k views
5 votes
Order - What is source order independence and does flex box have it? What is the property and values? What is the default order set too?

A.Flex-box has something called source order independence, B.meaning you can move around the items regardless of the order set in html.
C.order- This property goes in the item and the value is a number.
D.By default the order is set to zero. So a value above zero will make the item last,
E. a value below zero will make it first.

1 Answer

4 votes

Final answer:

Flex-box has source order independence, and the order property controls the order of flex items.

Step-by-step explanation:

Flex-box has a feature called source order independence, which allows you to move around items regardless of their order in the HTML. The order property is used to control the order of the flex items, with the value being a number. By default, the order is set to zero. Values above zero will make the item appear later in the flex container, while values below zero will make it appear earlier.

User Aaron Bertrand
by
8.1k points