Getting started
Resources
Flex
Spacing
Layout
Size
Typography
Background
Border
Transition
Utility classes for defining a transition property for an animation on an element. This defines what properties will be affected by other transition properties (duration delay, and timing functions) when transitioning from one state to another such as hover, active, manual toggle in a script, etc. Properties that are not defined as a transition property will cut immediately from start, to end instantaneously.
Transition property utilities can be paired with duration, delay, and timing function utilities to define simple animations, More complex animations should use defined classes, or tweening. For a list of provided animations with Doddle USS, check out the Transition Library.
Classes for transition property are named using the format: [property]-[value].
Where value includes:
all - for transition-property: alltranslate - for transition-property: translateopacity - for transition-property: opacityscale - for transition-property: scalebg-colour - for transition-property: background-colorb-colour - for transition-property: border-colortext-colour - for transition-property: colorall-colour - for transition-property: background-color, border-color, color| Class | Contents |
| |
| |
| |
| |
| |
| |
| |
| |
UXML
UXML
UXML
UXML
UXML
On this page