mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
758 B
758 B
| extends | title | description | features | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| _layouts.documentation | User Select | Utilities for controlling whether the user can select text in an element. |
|
@include('_partials.work-in-progress')
@include('_partials.class-table', [ 'rows' => [ [ '.select-none', 'user-select: none;', "Disable selecting text in an element.", ], [ '.select-text', 'user-select: text;', "Allow selecting text in an element.", ], ] ])
Customizing
@include('_partials.variants-and-disabling', [ 'utility' => [ 'name' => 'user-select', 'property' => 'userSelect', ], 'variants' => [ 'responsive', ], ])