如何删除iPhone< button>造型? [英] How to remove iPhone <button> styling?

查看:87
本文介绍了如何删除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;

这篇关于如何删除iPhone< button>造型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆