Utilities for controlling the position of an element's background image.
2025-04-10
Written by: tdtc
| Class | Styles |
|---|---|
| select-none | user-select: none; |
| select-text | user-select: text; |
| select-all | user-select: all; |
| select-auto | user-select: auto; |
Use the select-none utility to prevent selecting text in an element and its children:
<div class="select-none ...">The quick brown fox jumps over the lazy dog.</div>
Use the select-text utility to allow selecting text in an element and its children:
<div class="select-text ...">The quick brown fox jumps over the lazy dog.</div>
Use the select-all utility to automatically select all the text in an element when a user clicks:
<div class="select-all ...">The quick brown fox jumps over the lazy dog.</div>
Use the select-auto utility to use the default browser behavior for selecting text:
<div class="select-auto ...">The quick brown fox jumps over the lazy dog.</div>