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

Display

Use the display utility classes to show and hide elements.

Display

The display CSS property specifies the type of rendering box used for an element. In HTML, default display property values are taken from behaviors described in the HTML specifications or from the browser/user default stylesheet. — MDNThis link goes to an external site

You are leaving design.cms.gov.

You're about to connect to a third-party site. Select CONTINUE to proceed or CANCEL to stay on this site.

Learn more about links to third-party sites.

Continue

Format: .ds-u-display--[block|flex|inline|inline-block|inline-flex|none]

Responsive format: .ds-u-[breakpoint]-display--[block|flex|inline|inline-block|inline-flex|none]

.ds-u-display--block .ds-u-display--flex .ds-u-display--inline .ds-u-display--inline-block .ds-u-display--inline-flex .ds-u-display--none