mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
896 B
896 B
| extends | title | description | features | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| _layouts.documentation | Text Alignment | Utilities for controlling the alignment of text. |
|
@include('_partials.work-in-progress')
@include('_partials.class-table', [ 'rows' => [ [ '.text-left', 'text-align: left;', 'Align text to the left.', ], [ '.text-center', 'text-align: center;', 'Align text to the center.', ], [ '.text-right', 'text-align: right;', 'Align text to the right.', ], [ '.text-justify', 'text-align: justify;', 'Justify text.', ], ] ])
Customizing
@include('_partials.variants-and-disabling', [ 'utility' => [ 'name' => 'text alignment', 'property' => 'textAlign', ], 'variants' => [ 'responsive', ], ])