Skip to content

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.


All classes follow the structure:

.u--text-{value}
.u--text-{breakpoint}-{value}

Use this utility when:

  • You need to apply a specific text transformation to an element
  • You want to change text transformation responsively across breakpoints

This utility supports responsive variants, using breakpoint prefixes like: tablets, tabletm, tabletl, laptop, desktop, wide.


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...