input:focus{outline:none} input:{-webkit-appearance: none;}
<meta name="format-detection" content="telephone=no"> <meta http-equiv="x-rim-auto-match" content="none">
將上面的代碼加入到<head>標籤中css
<meta content="email=no" name="format-detection" />
line-height: (和input框的高度同樣高)---pc端解決方法 line-height:normal ---移動端解決方法
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none !important; margin: 0; }
做者:一個寫前端的姑娘
前端