Complete the code to add a smooth transition effect to the button background color.
<button class="bg-blue-500 hover:bg-blue-700 [1]">Click me</button>
The transition-colors class enables smooth color changes on hover.
Complete the code to set the transition duration to 700 milliseconds.
<div class="transition-opacity [1] opacity-0 hover:opacity-100">Fade in text</div>
The duration-700 class sets the transition duration to 700ms.
Fix the error in the code to make the element smoothly scale on hover.
<div class="transform [1] hover:scale-110">Scale me</div>
transition-opacity which only affects opacity.The transition-transform class enables smooth transitions for transform properties like scale.
Fill both blanks to create a button that changes background color and text color smoothly on hover.
<button class="[1] [2] hover:bg-green-600 hover:text-white">Hover me</button>
transition-opacity instead of transition-colors.transition-colors enables smooth color changes, and duration-500 sets the transition time to 500ms.
Fill all three blanks to create a div that fades in with a delay and smooth easing on hover.
<div class="opacity-0 [1] [2] [3] [4] hover:opacity-100">Fade in content</div>
delay-700 instead of duration.transition-opacity enables fading, duration-700 sets the transition duration, delay-300 adds a 300ms delay before starting, and ease-in-out makes the transition smooth.