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  How to calculate sum of a list in Python?

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.