Complete the code to apply a transition on the background color.
<button class="transition [1] duration-500 bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"> Click me </button>
The transition-colors class applies transitions to color-related properties like background color.
Complete the code to apply a transition on the transform property.
<div class="transform hover:scale-110 [1] duration-300"> Hover me </div>
The transition-transform class applies transitions to transform properties like scaling.
Fix the error in the code to apply a transition on the shadow property.
<button class="shadow-lg hover:shadow-xl [1] duration-400"> Shadow Button </button>
The transition-shadow class applies transitions to shadow properties.
Fill both blanks to apply transitions on both color and transform properties.
<div class="transform hover:text-red-500 hover:rotate-6 [1] [2] duration-500"> Rotate and Color </div>
Use transition-colors for color changes and transition-transform for rotation.
Fill all three blanks to apply transitions on color, shadow, and transform properties.
<button class="transform hover:bg-green-600 hover:shadow-2xl hover:scale-105 [1] [2] [3] duration-700 text-white font-semibold py-3 px-6 rounded"> Fancy Button </button>
Use transition-colors for background color, transition-shadow for shadow, and transition-transform for scaling.