Text Alignment
Adjust the horizontal alignment of text using classes like text-left
, text-center
, text-right
, or text-justify
.
text-left
: Aligns text to the left.text-center
: Centers text.text-right
: Aligns text to the right.text-justify
: Justifies text.
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: