火狐 文字渐变
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
火狐 文字渐变