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-nonetransition-all– All propertiestransition– Common properties (colors, opacity, shadow, transform)transition-colors– Only colorstransition-opacitytransition-shadowtransition-transform
⚡ Transition Duration
Control the length of the transition:
duration-75(75ms)duration-100duration-150(default in Tailwind)duration-200duration-300duration-500duration-700duration-1000(1s)
⚡ Transition Timing Function
Control the ease/speed curve of the transition:
ease-linearease-inease-outease-in-out
⚡ Transition Delay
Control the delay before a transition starts:
delay-0delay-75delay-100delay-150delay-200delay-300delay-500delay-700delay-1000
🧠 Test Your Knowledge
4 QuestionsProgress: 0 / 4
Keep Going!Tailwind CSS - Animation