以下這段代碼是禁止手機(jī)長(zhǎng)按復(fù)制的,但研究了好久,都不知道怎么添加。有沒有具體那個(gè)位置添加!我是想禁止手機(jī)瀏覽器長(zhǎng)按復(fù)制!
*{
-webkit-touch-callout:none;
/*系統(tǒng)默認(rèn)菜單被禁用*/
-webkit-user-select:none;
/*webkit瀏覽器*/
-khtml-user-select:none;
/*早期瀏覽器*/
-moz-user-select:none;
/*火狐*/
-ms-user-select:none;
/*IE10*/
user-select:none;
}
input,textarea {
-webkit-user-select:auto;
/*webkit瀏覽器*/
margin: 0px;
padding: 0px;
outline: none;
}