左边是电脑端,右边是手机端。 我不希望手机有渐变背景或圆边。
input {
margin: 0px;
font-size: 20px;
border: 0px;
background: green;
color: lime;
height: 40px;
width: 123px;
padding: 0px;
}
最佳答案
您可以将属性“-webkit-appearance”设置为“none”:
input {
-webkit-appearance: none;
}
关于CSS - 按钮的背景颜色在移动设备上不会改变,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18038478/