Text Color
Define the color of text using classes like text-red-500
, text-green-700
, or other color variants.
text-[color]
: Applies a specific text color, where[color]
is a color name or value.
What Classes can be used for Text alignment and Styling in Tailwind CSS ?
In Tailwind CSS, various utility classes are available for text alignment and styling. Here are some commonly used classes: