πŸ“ͺText Align

Text Alignment Classes

.text-right

Aligns the text to the right.

CSS equivalent: text-align: right;

Example usage:

<div class="text-right">This text is aligned to the right.</div>

.text-center

Aligns the text to the center.

CSS equivalent: text-align: center;

Example usage:

<div class="text-center">This text is aligned to the center.</div>

.text-left

Aligns the text to the left.

CSS equivalent: text-align: left;

Example usage:

<div class="text-left">This text is aligned to the left.</div>

Text Justification Classes

.text-justify-auto

Sets the text justification to auto.

CSS equivalent: text-align: justify;

Example

usage:


.text-justify-inter-word

Sets the text justification to inter-word.

CSS equivalent:

Example usage:


.text-justify-inter-ideograph

Sets the text justification to inter-ideograph.

CSS equivalent:

Example usage:


.text-justify-inter-cluster

Sets the text justification to inter-cluster.

CSS equivalent:

Example usage:


.text-justify-distribute

Sets the text justification to distribute.

CSS equivalent:

Example usage:


.text-justify-kashida

Sets the text justification to kashida.

CSS equivalent:

Example usage:


.text-justify-tibetan

Sets the text justification to Tibetan.

CSS equivalent:

Example usage:

Last updated