Apply slide-out animations
Use slide-out-<direction>-<value> (or the more readable slide-out-to-<direction>-<value>) to define the starting translation for an exit animation. If no value is specified, the default is 100%.
Directions:
tortop(Y-axis)borbottom(Y-axis)lorleft(X-axis)rorright(X-axis)
Values:
- Numbers, Percentages, Fractions,
full, or CSS variables.
<!-- Slide out towards top -->
<button class="animate-out slide-out-t">Button A</button>
<!-- Slide out towards top with specific value -->
<button class="animate-out slide-out-t-50%">Button B</button>