An official website of the United States government
Official websites use .gov A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS A lock or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.
<sectionclass="example-list"><article><codeclass="ds-u-margin-y--0 ds-u-margin-bottom--1">
.ds-u-font-size--5xl
</code><divclass="ds-u-truncate ds-u-font-size--5xl">
We the People of the United States
</div></article><article><codeclass="ds-u-margin-y--0 ds-u-margin-bottom--1">
.ds-u-font-size--4xl
</code><divclass="ds-u-truncate ds-u-font-size--4xl">
We the People of the United States
</div></article><article><codeclass="ds-u-margin-y--0 ds-u-margin-bottom--1">
.ds-u-font-size--3xl
</code><divclass="ds-u-truncate ds-u-font-size--3xl">
We the People of the United States
</div></article><article><codeclass="ds-u-margin-y--0 ds-u-margin-bottom--1">
.ds-u-font-size--2xl
</code><divclass="ds-u-truncate ds-u-font-size--2xl">
We the People of the United States
</div></article><article><codeclass="ds-u-margin-y--0 ds-u-margin-bottom--1">
.ds-u-font-size--xl
</code><divclass="ds-u-truncate ds-u-font-size--xl">
We the People of the United States
</div></article><article><codeclass="ds-u-margin-y--0 ds-u-margin-bottom--1">
.ds-u-font-size--lg
</code><divclass="ds-u-truncate ds-u-font-size--lg">
We the People of the United States
</div></article><article><codeclass="ds-u-margin-y--0 ds-u-margin-bottom--1">
.ds-u-font-size--base
</code>
or
<codeclass="ds-u-margin-y--0 ds-u-margin-bottom--1">
.ds-u-font-size--md
</code><divclass="ds-u-truncate ds-u-font-size--base">
We the People of the United States
</div></article><article><codeclass="ds-u-margin-y--0 ds-u-margin-bottom--1">
.ds-u-font-size--sm
</code><divclass="ds-u-truncate ds-u-font-size--sm">
We the People of the United States
</div></article></section>
Responsive font sizes
Use a breakpoint prefix to change the font size at specific breakpoints.
Code snippet
Guidance
Customization
The following Sass variables can be overridden to theme the font size utility: