iPad/iPhone 上的 CSS 提交按钮奇怪的渲染 [英] CSS submit button weird rendering on iPad/iPhone
本文介绍了iPad/iPhone 上的 CSS 提交按钮奇怪的渲染的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我注意到,如果我使用 CSS 使用半径、颜色和边框设置按钮的样式,它们看起来不错,但在 iphone/ipad/ipod 中它们看起来很糟糕……不应该与 Safari Desktop 中的渲染相同吗?
I noticed that if I style my buttons with CSS using radius, colors and borders, they look good but in the iphone/ipad/ipod they look terrible...shouldn't be the same rendering as in Safari Desktop??
推荐答案
糟糕!我只是自己找到了这个.只需在您需要的任何元素上添加此行:
Oops! I just found this myself. Just add this line on any element you need:
-webkit-appearance: none;
这篇关于iPad/iPhone 上的 CSS 提交按钮奇怪的渲染的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文