gpt4 book ai didi

iPhone

转载 作者:技术小花猫 更新时间:2023-10-29 11:00:40 25 4
gpt4 key购买 nike

HTML5 <button>在 Mobile Safari 中似乎具有固定的、不可更改的左右填充。 Here's a demo加上它在 Safari 5 和 iOS4 中的外观。

我怎样才能去掉那个填充?

最佳答案

只要你不需要原生控制按钮的外观,并且可以在 CSS 中做你自己的样式,只需添加 -webkit-appearance: none,你应该可以完全控制元素。

您也可以尝试使用 -webkit-appearance: button-webkit-appearance: pushbutton 来获取默认样式。

您可以看到其中的一些 at work here .

关于iPhone <button> 填充不变?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3430506/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com