【发布时间】:2021-03-03 07:03:30
【问题描述】:
搜索并尝试了所有方法后,我无法摆脱表单上的 iOS 样式。
Here is what I have on PC / Android
HTML 代码:
<form method="post" >
<fieldset style= "border-width: 0px;" >
<input style="font-size : 30px; height:48px; width:50px;" type="text" name="pone" id="pone" autocomplete="off">
<input style="font-size : 30px; height:48px; width:50px;" type="text" name="ptwo" id="ptwo" autocomplete="off">
<input style="font-size : 30px; height:48px; width:50px;" type="text" name="pthree" id="pthree" autocomplete="off">
<input style="font-size : 30px; height:48px; width:50px;" type="text" name="pfour" id="pfour" autocomplete="off">
<input style="font-size : 30px; height:48px; width:50px;" type="text" name="pfive" id="pfive" autocomplete="off">
<label>
<INPUT style="width:250px; height:50px; font-size : 30px" class="submit" type="submit" name="envoyer" id="envoyer" value=" SE LIBERER ">
</label><br /><br />
</fieldset>
还有我的 CSS:
input {
border-radius: 0;
}
input[type=text], input[type=button], input[type=submit] {
-webkit-appearance: none;
-webkit-border-radius: 0;
}
我也只试过 input{ 和 input[type]{ 这里有什么提示可以得到与 Android 相同的结果吗?
谢谢!
【问题讨论】:
-
@quantumPuter 谢谢你非常有建设性的回答。您能否指出我应该使用我尚未在我的 CSS 中尝试过的部分?干杯