CSS code snippet – How to remove text highlight on double click? Subash Chandran 4th November 2021 Leave a Comment /**HTML**/ <h1 class="element">The Element</h1> /**CSS**/ .element { user-select: none; } Curly hair, very fair, please share 🙂Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Reddit (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to email a link to a friend (Opens in new window) Related See also Python code snippet - How to select subset of data in a dataset using xarray? Snippets avoid double click highlight, deactivate selection double click, disable text select and right click css, how to disable highlight on double click, how to remove text highlight on double click, html prevent text selection on double click, on mouse double click text get select how to avoid it on css, remove highlight color on double click, stop text highlight on double click Change font size A Decrease font size. A Reset font size. A Increase font size.