Text transform
The text transform class sets the text-transform property. It controls the capitalization patterns of text.
| CSS Shortcut class | Applied style |
|---|---|
|
|
|
|
|
|
|
|
Examples
Capitalize
text-capitalize
This text has the first letter of each word capitalized.
<p class="text-capitalize">
This text has the first letter of each word capitalized.
</p>
Lowercase
text-lowercase
This text has all characters in lowercase.
<p class="text-lowercase">
This text has all characters in lowercase.
</p>
Uppercase
text-uppercase
This text has all characters in uppercase.
<p class="text-uppercase">
This text has all characters in uppercase.
</p>
None
text-none
This text is displayed as originally entered. Any text transformations are removed.
<p class="text-none">
This text is displayed as originally entered. Any text transformations are removed.
</p>
xs:> 480pxsm:> 640pxmd:> 768pxlg:> 1024pxxl:> 1280px
<div class="xs:text-capitalize ...">
...
</div>