📜  粘贴到表单字段cordova app - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:36.939000             🧑  作者: Mango

代码示例1
/******************
disable select touch and hold and highlight colors, 
also you can set that in a specific form field
******************/
html {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
/* and if you still want it to work for input then just add */
input {
    -webkit-user-select: auto !important;
    -webkit-touch-callout: default !important;
}