阻止Safari移动设备为输入按钮提供圆角 [英] Stop Safari Mobile from giving input buttons rounded corners
本文介绍了阻止Safari移动设备为输入按钮提供圆角的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想这个话题说明了一切.在Iphone,Ipod或Ipad上查看时,我有一个Web应用程序,输入提交按钮带有圆角.有办法阻止这种情况吗?
I guess the subject says it all. I have a web application when viewed on an Iphone, Ipod or Ipad, input submit buttons have rounded corners. Is there a way to stop this?
推荐答案
如果添加...
input, textarea {
-webkit-appearance: none;
border-radius: 0;
}
然后您的按钮将继承您已为其他浏览器应用的所有CSS样式.
Then your buttons will inherit any CSS styles that you have applied for other browsers.
这篇关于阻止Safari移动设备为输入按钮提供圆角的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文