Makes the content unselectable.
user-select: none
to make the content of the element not selectable.You can select me.
You can't select me!
<p>You can select me.</p>
<p class="unselectable">You can't select me!</p>
.unselectable {
user-select: none;
}
Would you like to help us improve 30 seconds of code?Take a quick survey
CSS, Interactivity
Creates a horizontally scrollable container that will snap on elements when scrolling.
CSS, Interactivity
Creates a scrollable container that will snap on elements when scrolling.
CSS, Interactivity
Creates an input with a visual, non-editable prefix.