text-* (alignment & transform)
class
Text alignment, transformation, and overflow utilities.
Syntax
class="text-center text-uppercase text-truncate"
Example
html
<p class="text-start">Left aligned</p>
<p class="text-center">Centered text</p>
<p class="text-end">Right aligned</p>
<p class="text-uppercase">UPPERCASE TEXT</p>
<p class="text-lowercase">lowercase text</p>
<p class="text-capitalize">Capitalized Text</p>
<!-- Truncate with ellipsis -->
<p class="text-truncate" style="max-width:200px">Very long text that gets truncated...</p>