Text Transform
The text transform utility allows you to apply predefined text transformation values to an element.
It supports both static and responsive variants generated through mixins and loops.
Naming convention
Section titled “Naming convention”All classes follow the structure:
.u--text-{value}.u--text-{breakpoint}-{value}When to use
Section titled “When to use”Use this utility when:
- You need to apply a specific text transformation to an element
- You want to change text transformation responsively across breakpoints
Responsive variants
Section titled “Responsive variants”This utility supports responsive variants, using breakpoint prefixes like: tablets, tabletm, tabletl, laptop, desktop, wide.
How to use
Section titled “How to use”In HTML
<p class="u--text-uppercase"> Example text</p>In CSS
.c--card-a { &__title { @extend .u--text-uppercase; }}Knowledge Check
Test your understanding of this section
Loading questions...