Skip to content

text-align

Utilities for controlling the alignment of text.

Class Effect
text-left text-align: left;
text-center text-align: center;
text-right text-align: right;
text-justify text-align: justify;
text-start text-align: start;
text-end text-align: end;
text-align: text-lefttext-align: text-left
ui.text(PROSE, ui.cx("max-w-md text-sm/6 text-gray-700 dark:text-gray-300", c))
text-align: text-centertext-align: text-center
ui.text(PROSE, ui.cx("max-w-md text-sm/6 text-gray-700 dark:text-gray-300", c))
text-align: text-righttext-align: text-right
ui.text(PROSE, ui.cx("max-w-md text-sm/6 text-gray-700 dark:text-gray-300", c))