Skip to main content
U.S. Flag

An official website of the United States government


Use the display utility classes to show and hide elements.


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. MDN

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

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

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