Skip to content

Typography

Text Transform

Utilities for controlling the transformation of text.

Quick reference

ClassDescription
uppercasetext-transform: uppercase
lowercasetext-transform: lowercase
capitalizetext-transform: capitalize
normal-casetext-transform: none

Basic usage

Transforming text

The uppercase and lowercase will uppercase and lowercase text respectively, whereas capitalize utility will convert text to title-case. The normal-case utility can be used to preserve the original casing — typically to reset capitalization at different breakpoints.

normal-case

The quick smart warp scientist

uppercase

The quick smart warp scientist

lowercase

The quick smart warp scientist

capitalize

The quick smart warp scientist

html
<p class="normal-case...">The quick smart warp scientist ...</p>
<p class="uppercase ...">The quick smart warp scientist ...</p>
<p class="lowercase ...">The quick smart warp scientist ...</p>
<p class="capitalize ...">The quick smart warp scientist ...</p>

Released under the Apache 2.0 License.