Skip to content
Justice Tech School

Display Utilities

d-none hides, d-block, d-inline and d-flex change display. Add breakpoints such as d-md-flex for responsive control.

Example
<div class="d-none d-md-block">Desktop only</div>
<div class="d-flex justify-content-between">
  <span>Left</span><span>Right</span>
</div>

Exercise

Use flexbox.

d-

Quiz Test

Which class hides an element?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.