Utility classes for changing an element's flex direction property. Flex direction affects the ordering of child elements, defines the main/cross axis, and their start/end.

Classes for flex direction are named using the format: [flex]-[direction].

Where value includes:

  • column - for flex-direction: column
  • column-reverse - for flex-direction: column-reverse
  • row - for flex-direction: row
  • row-reverse - for flex-direction: row-reverse
ClassContents

Note that flex-direction: column is the default value for flex direction in Unity. Unless the value needs to be overridden from a parent, the flex-colclass is not needed.

0
1
2

UXML

0
1
2

UXML

0
1
2

UXML

0
1
2

UXML