火狐 文字渐变_删除移动Firefox按钮渐变

火狐 文字渐变

If you have an Android device, you've gotta check out Firefox for Android.  It's an outstanding mobile browser -- it has been very well received and you can even install apps from the Firefox Marketplace from within this awesome browser.  One usability practice implemented by Firefox for Android is a gradient shade on all button elements.  While I appreciate the idea, I don't necessarily want this added to elements which I want to look a very specific way.  Removing this gradient effect is simple:

如果您使用的是Android设备,则必须查看Firefox for Android。 这是一款出色的移动浏览器-广受好评,您甚至可以从Firefox Marketplace上的这款很棒的浏览器安装应用程序。 Firefox for Android实现的一种可用性做法是在所有按钮元素上使用渐变阴影。 虽然我很欣赏这个主意,但我并不一定要将其添加到我想以一种非常特定的方式添加的元素中。 删除此渐变效果很简单:


/* Cancels out Firefox Mobile's gradient background */
button {
	background-image: none;
}


Before you jump on Mozilla for this practice, WebKit-based browsers do something very similar.  Preventing this effect is also very simple so if you want to remove this gradient, use the code above and you're on your way!

在您开始使用Mozilla进行此练习之前, 基于WebKit的浏览器会执行类似的操作 。 防止这种影响也非常简单,因此,如果要删除此渐变,请使用上面的代码,您就可以开始使用!

翻译自: https://davidwalsh.name/remove-mobile-firefox-button-gradient

火狐 文字渐变

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值