Typography
Text Align
Utilities for sets the alignment of text.
Class
class | css |
---|---|
text-left | text-align: left |
text-center | text-align: center |
text-right | text-align: right |
text-justify | text-align: justify |
Usage
Set text align to left
.
<!-- Example -->
<y class="text-left">
...
</y>
Set text align to right
.
<!-- Example -->
<y class="text-right">
...
</y>
Set text align to center
.
<!-- Example -->
<y class="text-center">
...
</y>
Set text align to justify
.
<!-- Example -->
<y class="text-justify">
... ... ...
... ... ...
... ... ...
</y>
Variant
Variant | Enabled | Responsive |
---|---|---|
Default | Yes | Yes |
Dark Theme | ||
hover | ||
group-hover | ||
focus | ||
focus-within | ||
active | ||
visited | ||
checked | ||
disabled |