在手機瀏覽器中,長按可選中文本,但如果在應用中,會給人一種異樣的感覺,最好還是禁用此功能為上。
* {
-webkit-touch-callout:none;
-webkit-user-select:none;
-khtml-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;
}
在手機瀏覽器中,長按可選中文本,但如果在應用中,會給人一種異樣的感覺,最好還是禁用此功能為上。
* {
-webkit-touch-callout:none;
-webkit-user-select:none;
-khtml-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;
}
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。