【发布时间】:2018-04-18 13:14:49
【问题描述】:
我给按钮一个自定义的 CSS。它适用于:
- Windows 桌面(Chrome、Opera、Edge)
- 通过控制台移动设备演示的 Windows 桌面
- Android(Opera、Chrome)
- iOS(Safari、Chrome)
问题是在 iPad 上它不起作用。
css 是这样的:
input[type="button"],
button,
.theater-control-button {
-webkit-appearance: none; /*Safari/Chrome*/
-moz-appearance: none; /*Firefox*/
-ms-appearance: none; /*IE*/
-o-appearance: none; /*Opera*/
-webkit-border-radius: 0;
}
在 iPad 上,它看起来高度:15 像素,边框半径:30 像素。
【问题讨论】: