【发布时间】:2014-02-04 22:37:23
【问题描述】:
我有一个带有背景和固定宽度/高度的输入字段。它在我桌面上的所有浏览器中看起来都不错。但由于某种原因,它在 iPad 和 iPhone 上看起来更大。
我在 Css 中尝试了几种技巧,但到目前为止都没有奏效。
width: 120px !important;
background-image:url('../img/header-input.png');
height: 30px;
-webkit-appearance: none !important;
-webkit-border-radius: 0;
border-radius:0;
@include border-radius(0);
outline: none;
border: none;
【问题讨论】:
-
你试过
-webkit-text-size-adjust吗? -
你的意思是:font-size-adjust: none?