ios上表單默認樣式
阿新 • • 發佈:2017-08-14
one appear input ron 拖拽 :focus rom type -o
摘自:http://blog.sina.com.cn/s/blog_7d796c0d0102uyd2.html
可惜不能直接轉到博客園。
input[type="button"], input[type="submit"], input[type="reset"] {
-webkit-appearance: none;
}
textarea { -webkit-appearance: none;}
去除Chrome等瀏覽器文本框默認發光邊框
input:focus, textarea:focus {
outline: none;
}
去掉高光樣式:
input:focus{
-webkit-tap-highlight-color:rgba(0,0,0,0);
-webkit-user-modify:read-write-plaintext-only;
}
2、去除IE10+瀏覽器文本框後面的小叉叉
input::-ms-clear {
display: none;
}
3、禁止多行文本框textarea拖拽
textarea {
resize: none;
}
ios上表單默認樣式