Getting started
Resources
Flex
Spacing
Layout
Size
Typography
Background
Border
Transition
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
Class | Contents |
|
|
|
|
|
|
|
|
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-col
class is not needed.
UXML
UXML
UXML
UXML
On this page