Skip to content

Commit b8aa667

Browse files
committed
Add cheatsheet table to user select docs
1 parent 9b41698 commit b8aa667

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

docs/source/docs/user-select.blade.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,32 @@ title: "User Select"
1717
])
1818

1919
@include('_partials.work-in-progress')
20+
21+
<div class="border-t border-grey-lighter">
22+
<table class="w-full text-left" style="border-collapse: collapse;">
23+
<colgroup>
24+
<col class="w-1/5">
25+
<col class="w-1/3">
26+
<col>
27+
</colgroup>
28+
<thead>
29+
<tr>
30+
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Class</th>
31+
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Properties</th>
32+
<th class="text-sm font-semibold text-grey-darker p-2 bg-grey-lightest">Description</th>
33+
</tr>
34+
</thead>
35+
<tbody class="align-baseline">
36+
<tr>
37+
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark">.select-none</td>
38+
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">user-select: none;</td>
39+
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Disable selecting text in an element.</td>
40+
</tr>
41+
<tr>
42+
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark">.select-text</td>
43+
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark">user-select: text;</td>
44+
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Allow selecting text in an element.</td>
45+
</tr>
46+
</tbody>
47+
</table>
48+
</div>

0 commit comments

Comments
 (0)