Transition duration

Utilities for controlling the transition duration of an element.

In this article

Class Properties
.transition-slow transition-duration: $transition-duration-slow;
.transition-medium transition-duration: $transition-duration;
.transition-fast transition-duration: $transition-duration-fast;


Use transition-{speed} to specify the speed at which CSS properties should transition.


By default, no responsive or hover-state variants are generated for transition duration utilities.


To include responsive variants like .md:transition-fast, add "transition-duration" to the $responsive-variants variable in your theme’s _variables.scss file when recompiling your CSS:

$responsive-variants: (
  // ...


To include hover-state variants like .hover:transition-fast, add "transition-duration" to the $hover-variants variable when recompiling your CSS:

$hover-variants: (
  // ...

Questions or feedback about this article? Let us know