Home  >  Article  >  Web Front-end  >  How to solve the problem of css prohibiting html tags from being selected

How to solve the problem of css prohibiting html tags from being selected

高洛峰
高洛峰Original
2017-03-14 16:08:591440browse

The following CSS style implements the tag selection prohibition function of each browser. Friends in need can refer to it

moz-user-select: -moz-none;
-moz-user-select: none;
-o-user-select:none;
-khtml-user-select:none;
-webkit-user-select:none;
-ms-user-select:none;
user-select:none;


The above is the detailed content of How to solve the problem of css prohibiting html tags from being selected. 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