Syntax

transition

Controlling animation speed when changing CSS properties.

Overview

ClassDeclarations
~`name`|`duration`transition: `name` `duration`;

Apply conditionally

Apply styles based on different states using selectors and conditional queries.

<div class="transition:padding|300ms|ease-in:hover transition:padding|300ms|ease-in@sm transition:padding|300ms|ease-in@dark transition:padding|300ms|ease-in@print">…</div>

  • Master UI


© 2025 Aoyue Design LLC.MIT License
Trademark Policy