Medium
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 13 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
2
What is the role of the `container` class in Tailwind CSS?2
How to define a width of 100% in Tailwind CSS?2
Override the media queries defined by default by Tailwind2
How to set a background color with an opacity in Tailwind CSS3
How to align 3 divs horizontally in Tailwind CSS4
How to optimize scroll management in Tailwind CSS for a list of icons displayed horizontally?4
What is the name of the Tailwind CSS SVG icon library?