This is a preview, you can find the current version here.
Last updated: 12/16/2025

Display

Display atomic classes allow you to change an element's display quickly.

Classes

ClassOutputDefinitionResponsive?Print?
.d-blockdisplay: block;

This turns any element into a block-level element.

.d-inlinedisplay: inline;

Turns any element into an inline element that flows like text.

.d-inline-blockdisplay: inline-block;

Turns any element into a block-level box that will be flowed with surrounding content as if it were a single inline box (behaving much like a replaced element would)

.d-flexdisplay: flex;

Lays out its content according to the flexbox model.

.d-inline-flexdisplay: inline-flex;

This makes the element behave like an inline element and lays out its content according to the flexbox model.

.d-griddisplay: grid;

This lays out an element and its contents using grid layout.

.d-inline-griddisplay: inline-grid;

This makes the element behave like an inline element and lays out its content according to the grid model.

.d-tabledisplay: table;

This makes your element behave like table HTML elements. It defines a block-level box.

.d-table-celldisplay: table-cell;

These elements behave like td HTML elements.

.d-nonedisplay: none;

Effectively removes the element from the DOM. Useful for showing / hiding elements.
To hide things when the page is printed, apply .print:d-none

.d-unsetdisplay: unset;

Removes any display property from the element.

Edit on GitHub