Skip to content

Display

Display utilities control element visibility and display behavior. All classes support responsive breakpoint suffixes (@sm, @md, @lg, @xl, @print).

ClassDescription
.util-display-noneHides the element (display: none)
.util-blockElement fills the full width of its container and starts on a new line
.util-inlineElement flows within text, sized by its content only (width/height have no effect)
.util-inline-blockElement flows within text like inline, but accepts width, height, and vertical margins
.util-visually-hiddenHides visually but remains accessible to screen readers
.util-visually-visibleReverses .util-visually-hidden

Append a breakpoint suffix to apply display changes at specific screen sizes:

ExampleDescription
.util-display-none@mdHidden from the md breakpoint and up
.util-block@mdBlock display from the md breakpoint and up
.util-display-none@printHidden when printed
SuffixMin-width
@sm30rem (480px)
@md50rem (800px)
@lg60rem (960px)
@xl80rem (1280px)
@printPrint media

The .util-visually-hidden class hides an element visually while keeping it accessible to assistive technologies. This is commonly used for skip links and screen-reader-only labels.