Getting started
Resources
Flex
Spacing
Layout
Size
Typography
Background
Border
Transition
Utility classes for changing an element's background size property.
Classes for background size are named using the format: [bg]-[size]-[value]
.
Where size includes:
#
- % value for that background size property. By default, background size classes start at 10%, and increment by 10% until stopping at 100%Class | Contents |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note that background-size: 100% 100%
is the default value for background size in Unity. Unless the value needs to be overridden from a parent, the bg-size-100
class is not needed.
UXML
On this page