text-transform

Class Description

uppercase

Sets text-transform: uppercase.

CSS Rules

.uppercase {
  text-transform: uppercase;
}

Usage

<element class="uppercase" />

Responsive

Prefix .uppercase utility with a breakpoint variant (e.g., md:) to apply styles at specific screen sizes (Supported breakpoints are xm through 2xl).

<element class="md:uppercase" />

States

States are generated dynamically at runtime and always come last. Append a state like :hover or :focus to the end of the class. This works in conjunction with breakpoints .

Supported pseudo-classes: :hover, :active, :focus, :focus-visible, :focus-within, :target, :checked, :disabled, and :group-hover.

<element class="uppercase:hover" />

Group Hover Example

The :group-hover state applies styles when a parent element with the .group class is hovered.

<element class="group">
  <element class="uppercase:group-hover">...</element>
</element>

Pseudo-Elements

The ::before and ::after utility classes are supported too. Granted that you add the mandatory content-before or content-after class in order for them to work.

<element class="content-before uppercase::before" />

<element class="content-after uppercase::after" />
.uppercase Sets text-transform: uppercase.

lowercase

Sets text-transform: lowercase.

CSS Rules

.lowercase {
  text-transform: lowercase;
}

Usage

<element class="lowercase" />

Responsive

Prefix .lowercase utility with a breakpoint variant (e.g., md:) to apply styles at specific screen sizes (Supported breakpoints are xm through 2xl).

<element class="md:lowercase" />

States

States are generated dynamically at runtime and always come last. Append a state like :hover or :focus to the end of the class. This works in conjunction with breakpoints .

Supported pseudo-classes: :hover, :active, :focus, :focus-visible, :focus-within, :target, :checked, :disabled, and :group-hover.

<element class="lowercase:hover" />

Group Hover Example

The :group-hover state applies styles when a parent element with the .group class is hovered.

<element class="group">
  <element class="lowercase:group-hover">...</element>
</element>

Pseudo-Elements

The ::before and ::after utility classes are supported too. Granted that you add the mandatory content-before or content-after class in order for them to work.

<element class="content-before lowercase::before" />

<element class="content-after lowercase::after" />
.lowercase Sets text-transform: lowercase.

capitalize

Sets text-transform: capitalize.

CSS Rules

.capitalize {
  text-transform: capitalize;
}

Usage

<element class="capitalize" />

Responsive

Prefix .capitalize utility with a breakpoint variant (e.g., md:) to apply styles at specific screen sizes (Supported breakpoints are xm through 2xl).

<element class="md:capitalize" />

States

States are generated dynamically at runtime and always come last. Append a state like :hover or :focus to the end of the class. This works in conjunction with breakpoints .

Supported pseudo-classes: :hover, :active, :focus, :focus-visible, :focus-within, :target, :checked, :disabled, and :group-hover.

<element class="capitalize:hover" />

Group Hover Example

The :group-hover state applies styles when a parent element with the .group class is hovered.

<element class="group">
  <element class="capitalize:group-hover">...</element>
</element>

Pseudo-Elements

The ::before and ::after utility classes are supported too. Granted that you add the mandatory content-before or content-after class in order for them to work.

<element class="content-before capitalize::before" />

<element class="content-after capitalize::after" />
.capitalize Sets text-transform: capitalize.

normal-case

Resets text-transform.

CSS Rules

.normal-case {
  text-transform: none;
}

Usage

<element class="normal-case" />

Responsive

Prefix .normal-case utility with a breakpoint variant (e.g., md:) to apply styles at specific screen sizes (Supported breakpoints are xm through 2xl).

<element class="md:normal-case" />

States

States are generated dynamically at runtime and always come last. Append a state like :hover or :focus to the end of the class. This works in conjunction with breakpoints .

Supported pseudo-classes: :hover, :active, :focus, :focus-visible, :focus-within, :target, :checked, :disabled, and :group-hover.

<element class="normal-case:hover" />

Group Hover Example

The :group-hover state applies styles when a parent element with the .group class is hovered.

<element class="group">
  <element class="normal-case:group-hover">...</element>
</element>

Pseudo-Elements

The ::before and ::after utility classes are supported too. Granted that you add the mandatory content-before or content-after class in order for them to work.

<element class="content-before normal-case::before" />

<element class="content-after normal-case::after" />
.normal-case Resets text-transform.