Skip to content

CSS code snippet – How to remove text highlight on double click?

/**HTML**/
<h1 class="element">The Element</h1>

/**CSS**/
.element {
	user-select: none;
}
See also  Python code snippet - How to select subset of data in a dataset using xarray?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.