Skip to content

Display

Utilities for controlling the display box type of an element.

Class names

ClassDescription
hboxdisplay: flex; flex-direction: row;
sm:hboxdisplay: flex; flex-direction: row; from the sm breakpoint upward.
md:hboxdisplay: flex; flex-direction: row; from the md breakpoint upward.
lg:hboxdisplay: flex; flex-direction: row; from the lg breakpoint upward.
xl:hboxdisplay: flex; flex-direction: row; from the xl breakpoint upward.
vboxdisplay: flex; flex-direction: column;
sm:vboxdisplay: flex; flex-direction: column; from the sm breakpoint upward.
md:vboxdisplay: flex; flex-direction: column; from the md breakpoint upward.
lg:vboxdisplay: flex; flex-direction: column; from the lg breakpoint upward.
xl:vboxdisplay: flex; flex-direction: column; from the xl breakpoint upward.
flexdisplay: flex;
sm:flexdisplay: flex; from the sm breakpoint upward.
md:flexdisplay: flex; from the md breakpoint upward.
lg:flexdisplay: flex; from the lg breakpoint upward.
xl:flexdisplay: flex; from the xl breakpoint upward.
griddisplay: grid;
blockdisplay: block;
sm:blockdisplay: block; from the sm breakpoint upward.
md:blockdisplay: block; from the md breakpoint upward.
lg:blockdisplay: block; from the lg breakpoint upward.
xl:blockdisplay: block; from the xl breakpoint upward.
inlinedisplay: inline;
inline-blockdisplay: inline-block;
inline-flexdisplay: inline-flex;
hiddendisplay: none;
sm:hiddendisplay: none; from the sm breakpoint upward.
md:hiddendisplay: none; from the md breakpoint upward.
lg:hiddendisplay: none; from the lg breakpoint upward.
xl:hiddendisplay: none; from the xl breakpoint upward.
sr-onlyposition: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border-width: 0;