如何删除iPhone< button>造型?

如何删除iPhone< button>造型?

问题描述:

http://ingoodtastemag.com/

在iPhone上,按钮是带有渐变的圆形.但是,到目前为止,在我们测试过的所有其他桌面浏览器和Android上,它都是方形的.我希望按钮保持方形.为此,我需要哪些CSS重置?

On an iPhone, the button is round with a gradient. However, on every other desktop browser and Android that we've tested so far, it is square. I want the button to stay square. What CSS resets do I need for this?

此圆角是Safari浏览器和iOS 5设备的默认属性.要覆盖它,请为您的按钮使用以下样式:

This rounded corner is the default property of the Safari browser and iOS 5 devices. To overwrite it, use the following styling for your button:

-webkit-appearance: none;
border-radius: 0;