mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
4.8 KiB
4.8 KiB
| extends | title |
|---|---|
| _layouts.documentation | Display |
Display
Utilities for controlling the display box type of an element.
@include('_partials.feature-badges', [ 'responsive' => true, 'customizable' => false, 'hover' => false, 'focus' => false ])
@include('_partials.work-in-progress')
| Class | Properties | Description |
|---|---|---|
| .block | display: block; | Set the box type of the element to block. |
| .inline-block | display: inline-block; | Set the box type of the element to inline-block. |
| .inline | display: inline; | Set the box type of the element to inline. |
| .table | display: table; | Set the box type of the element to table. |
| .table-row | display: table-row; | Set the box type of the element to table-row. |
| .table-cell | display: table-cell; | Set the box type of the element to table-cell. |
| .hidden | display: none; | Set the box type of the element to none. |
| .flex | display: flex; | Set the box type of the element to flex. |
| .inline-flex | display: inline-flex; | Set the box type of the element to inline-flex. |