Typography
text-transform
Learn how to use the CSS text-transform property.
CSS text-transform
The text-transform property sets the text transform for an HTML element.
Syntax
.element {
text-transform: uppercase;
}
HTML Context Example
<div class="card">
This is a styled element.
</div>
<style>
.card {
text-transform: uppercase;
}
</style>
Notes
Experiment in the CSS playground to see how this affects layout and styling.