mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Add cheatsheet table to user select docs
This commit is contained in:
parent
9b416989a6
commit
b8aa667bec
@ -17,3 +17,32 @@ title: "User Select"
|
||||
])
|
||||
|
||||
@include('_partials.work-in-progress')
|
||||
|
||||
<div class="border-t border-grey-lighter">
|
||||
<table class="w-full text-left" style="border-collapse: collapse;">
|
||||
<colgroup>
|
||||
<col class="w-1/5">
|
||||
<col class="w-1/3">
|
||||
<col>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Class</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Properties</th>
|
||||
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="align-baseline">
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark">.select-none</td>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">user-select: none;</td>
|
||||
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Disable selecting text in an element.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark">.select-text</td>
|
||||
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">user-select: text;</td>
|
||||
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Allow selecting text in an element.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user