Tailwind CSS Invert
The invert class is an inbuilt function that is used to apply a filter to the image to set the invert version of the color of the sample image. In CSS, we do that by using the CSS invert() Function.
- invert-0: This class is used to represent the original color.
- invert: This class is used to represent the inverted color of that original color.
<element class="filter invert | invert-0">..</element>