Skip to content

Display

Display utilities are used for display and hidden things.

Flow

html
<!-- display: block; -->
<div class="d-block"></div>

<!-- display: inline; -->
<div class="d-inline"></div>

<!-- display: inline-block; -->
<div class="d-inline-block"></div>

<!-- display: flex; -->
<div class="d-flex"></div>

<!-- display: inline-flex; -->
<div class="d-inline-flex"></div>

<!-- display: none; -->
<div class="d-none"></div>
<div class="d-hide"></div>

Visibility

html
<!-- visibility: visible; -->
<div class="d-visible"></div>

<!-- visibility: hidden; -->
<div class="d-invisible"></div>

<!-- hide text contents -->
<div class="text-hide"></div>

Accessibility

html
<!-- assistive text for screen reader -->
<div class="text-assistive"></div>