Skip to main content

An official website of the United States government

Here's how you know

An official website of the United States government

Here's how you know

Theme:

Design system switcher

Version:

Design system switcher

Theme:

Design system switcher

Version:

Design system switcher

Text Alignment

Align text using the text-align utility.

Format: .ds-u-text-align--[center|left|right]

Responsive format: .ds-u-[breakpoint]-text-align--[center|left|right]

.ds-u-text-align--left
We the People of the United States
.ds-u-text-align--center
We the People of the United States
.ds-u-text-align--right
We the People of the United States

Responsive text alignment

Use a breakpoint prefix to change the text alignment at specific breakpoints.

Scale: 0.22