mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
2.3 KiB
2.3 KiB
title, description, layout
| title | description | layout |
|---|---|---|
| Transitions | Customize your theme's built-in transitions with Web Awesome's transition properties. | page.njk |
Transitions can make interactions more lively and emphasize the relationship between a user's action and its outcome.
Easing
Easing controls the standard transition-timing-function used for transitions throughout Web Awesome.
| Custom Property | Default Value | Preview |
|---|---|---|
--wa-transition-easing |
ease |
Duration
Web Awesome uses different transition durations to make it easy to track a component's state while minimizing sluggish or distracting movement.
Properties that change between frequent, incidental states, such as hover and focus, generally use faster transitions than properties that change between states that are more intentional and impactful, like checked or open.
| Custom Property | Default Value | Preview |
|---|---|---|
--wa-transition-slow |
300ms |
|
--wa-transition-normal |
150ms |
|
--wa-transition-fast |
75ms |