Getting started
Resources
Flex
Spacing
Layout
Size
Typography
Background
Border
Transition
Utility classes for changing an element's flex wrap property. Flex wrap affects how child elements will wrap to new lines if the parent container is too small.
Classes for flex wrap are named using the format: [flex]-[value]
.
Where value includes:
nowrap
- for flex-wrap: nowrap
wrap
- for flex-wrap: wrap
wrap-reverse
- for flex-wrap: wrap-reverse
Class | Contents |
|
|
|
|
|
|
Note that flex-wrap: nowrap
is the default value for flex wrap in Unity. Unless the value needs to be overridden from a parent, the flex-nowrap
class is not needed.
UXML
UXML
UXML
On this page