Display
Sets an element's display property. Most values are responsive; two are a documented exception, and there's a separate print-only set most utility docs skip entirely.
Named values
Nine base values, each responsive (d-md-none, d-lg-flex, …) at every breakpoint:
| Class | display value |
|---|---|
d-none | none |
d-inline | inline |
d-inline-block | inline-block |
d-block | block |
d-grid | grid |
d-inline-grid | inline-grid |
d-flex | flex |
d-inline-flex | inline-flex |
d-table | table |
Table-row / table-cell — not responsive
d-table-row and d-table-cell exist, but they're registered outside the loop that builds the nine values above — so unlike every other display class, they have no breakpoint variants at all. d-md-table-cell looks like it should exist by analogy with d-md-block, but it doesn't; the lookup fails silently, same as any other unregistered class.
d-md-table-cell etc. don't exist
Print display
A complete, separate set — 10 classes, each wrapped in @media print, letting you show or hide elements (or change their display type) specifically when a page is printed. None of these are responsive to viewport breakpoints; the only condition is print vs. screen:
d-print-noned-print-inlined-print-inline-blockd-print-blockd-print-gridd-print-flexd-print-inline-flexd-print-tabled-print-table-rowd-print-table-cellTest these via the browser's print preview, not this page
@media print, toggling them here on-screen has no visible effect — that's correct behavior, not a bug. Use Ctrl/Cmd+P → print preview to see them take effect. A common pattern: d-print-none on navigation/sidebars, d-print-block on a print-only summary.What display doesn't have
Unlike spacing, display utilities have no !important variant — there's no !d-none. There's also no arbitrary-value form; every valid display keyword already has a named class, so brackets were never added for this group. d-[revert] or similar won't work.