Complete the code to add a bounce animation to the button using Tailwind CSS.
<button class="[1]">Click me</button>
The class animate-bounce adds a bounce animation to the element in Tailwind CSS.
Complete the code to make the bounce animation repeat infinitely.
<div class="animate-bounce [1]">Bounce!</div>
repeat-2.The class infinite makes the animation repeat forever in Tailwind CSS.
Fix the error in the code to correctly apply the bounce animation on hover.
<span class="hover:[1]">Hover me</span>
bounce without animate- prefix.hover-bounce.To apply bounce animation on hover, use hover:animate-bounce. The class animate-bounce is required.
Fill both blanks to create a red button that bounces infinitely on hover.
<button class="bg-[1]-500 text-white px-4 py-2 rounded hover:[2]">Bounce</button>
animate-spin instead of bounce.The button background is red using bg-red-500. The bounce animation on hover is hover:animate-bounce.
Fill all three blanks to create a green text that bounces and repeats infinitely.
<p class="text-[1]-600 [2] [3]">Attention!</p>
The text color is green with text-green-600. The bounce animation is animate-bounce with infinite repetition using infinite.