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.YesYes
.d-inlinedisplay: inline;Turns any element into an inline element that flows like text.Yes
.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)Yes
.d-flexdisplay: flex;Lays out its content according to the flexbox model.Yes
.d-inline-flexdisplay: inline-flex;This makes the element behave like an inline element and lays out its content according to the flexbox model.Yes
.d-griddisplay: grid;This lays out an element and its contents using grid layout.Yes
.d-inline-griddisplay: inline-grid;This makes the element behave like an inline element and lays out its content according to the grid model.Yes
.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-noneYesYes
.d-unsetdisplay: unset;Removes any display property from the element.