Disable selection
Makes the content unselectable.
- Use
user-select: none
to make the content of the element not selectable.
<p>You can select me.</p> <p class="unselectable">You can't select me!</p>
.unselectable { user-select: none; }
Makes the content unselectable.
user-select: none
to make the content of the element not selectable.<p>You can select me.</p> <p class="unselectable">You can't select me!</p>
.unselectable { user-select: none; }
Learn how to make your CSS transitions feel perfect when users interact with elements on the page with this simple tip.
Creates a horizontally scrollable container that will snap on elements when scrolling.
Creates a scrollable container that will snap on elements when scrolling.
Creates an input with a visual, non-editable prefix.