Home>Article>Web Front-end> How to prevent text from being selected in css (code)

How to prevent text from being selected in css (code)

不言
不言 Original
2018-08-28 11:20:56 1557browse

The content of this article is about how to prevent text from being selected in CSS (code). It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

    css禁止文字被选择  
可以选择
不可以选择

Related recommendations:

How to prohibit selected text in CSS_html/css_WEB-ITnose

Prohibition of selected text on web pages Text is selected_html/css_WEB-ITnose

The above is the detailed content of How to prevent text from being selected in css (code). For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn