Changes the styling of text selection.
::selection
pseudo-selector to style text within it when selected.Select some of this text.
<p class="custom-text-selection">Select some of this text.</p>
::selection {
background: aquamarine;
color: black;
}
.custom-text-selection::selection {
background: deeppink;
color: white;
}
CSS, Visual
Creates a styled checkbox with animation on state change.
CSS, Visual
Customizes the scrollbar style for elements with scrollable overflow.
CSS, Visual
Customizes the style of inline quotation marks.