// CSS; How to disable text selection with CSS Published: Dec 12, 2022 1 min read The CSS user-select property controls how an element's text is allowed to be selected and can be used to make text unselectable.