Question from the Tailwind test

Animate the color of a div from red to a lighter color and back again using Tailwind CSS

Hard

Given the element

<div class="bg-red-400 w-24 h-24"></div>

Which class should I add to make an animation on the color so that it goes back and forth between the original color and a lighter color, without making a custom class?

Author: DamienStatus: PublishedQuestion passed 11 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!