Nearby lessons

59 of 61

⚡ Tailwind CSS - Transition (Property, Duration, Timing & Delay)

📖 Overview

Transition utilities control how CSS properties change over time, creating smooth animations between states (like hover or focus).

⚡ Transition Property

Control which properties should transition:

  • transition-none
  • transition-all – All properties
  • transition – Common properties (colors, opacity, shadow, transform)
  • transition-colors – Only colors
  • transition-opacity
  • transition-shadow
  • transition-transform
🌀

tailwind Designer

Live Component Playground

html Source
Loading...
Built with Tailwind CSS • Instant Reflection

⚡ Transition Duration

Control the length of the transition:

  • duration-75 (75ms)
  • duration-100
  • duration-150 (default in Tailwind)
  • duration-200
  • duration-300
  • duration-500
  • duration-700
  • duration-1000 (1s)
🌀

tailwind Designer

Live Component Playground

html Source
Loading...
Built with Tailwind CSS • Instant Reflection

⚡ Transition Timing Function

Control the ease/speed curve of the transition:

  • ease-linear
  • ease-in
  • ease-out
  • ease-in-out
🌀

tailwind Designer

Live Component Playground

html Source
Loading...
Built with Tailwind CSS • Instant Reflection

⚡ Transition Delay

Control the delay before a transition starts:

  • delay-0
  • delay-75
  • delay-100
  • delay-150
  • delay-200
  • delay-300
  • delay-500
  • delay-700
  • delay-1000
🌀

tailwind Designer

Live Component Playground

html Source
Loading...
Built with Tailwind CSS • Instant Reflection

🧠 Test Your Knowledge

4 Questions

Progress: 0 / 4
Keep Going!Tailwind CSS - Animation