Display & Visibility

Toggle element rendering and visibility

Display controls how an element is rendered. Visibility controls whether it's visible while still occupying space.

Display Type

Takes full width, starts on a new line

1
2
3
4
5
Tailwind CSS
<div class="block gap-2">
  <div>1</div>
  <div>2</div>
  <div>3</div>
</div>
Previous
23 / 23