the*_*777 1 css iphone button ios
在搜索并尝试了一切之后,我无法摆脱表单上的 iOS 样式。
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>
Run Code Online (Sandbox Code Playgroud)
还有我的CSS:
<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>
Run Code Online (Sandbox Code Playgroud)
我也只尝试了input{ 和input[type]{ 这里有什么提示可以得到与 Android 相同的结果吗?
谢谢你!
input {
border-radius: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
input[type=text], input[type=button], input[type=submit] {
background-color : #D3D3D3;
}Run Code Online (Sandbox Code Playgroud)
<form method="post" >
<fieldset style= "border-width: 0px;" >
</label>
<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>
<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>
</form>Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
8965 次 |
| 最近记录: |