线性梯度等效于莫兹线性梯度 [英] linear-gradient equivalent to moz-linear-gradient

查看:97
本文介绍了线性梯度等效于莫兹线性梯度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要替换以下Mozilla特定的CSS规则:

I want to replace the following Mozilla-specific CSS rule:

background: -moz-linear-gradient(center top , #F5F5F5, #E4E4E4); 

使用标准 linear-gradient 。换句话说,我如何完成以下规则,使其与上述规则具有相同的效果(在Firefox中)

with an equivalent rule that uses the standard linear-gradient instead. In other words, how can I complete the following rule so that it has the same effect (in Firefox) as the rule above

background: linear-gradient /* what goes here? */


推荐答案

有一些困难或只是加速的过程。

示例

http ://www.colorzilla.com/gradient-editor/

http: //westciv.com/tools/gradients/

http://gradients.glrzad .com /

You could also use some gradient generators if you are having some difficulties or just for speeding up the process.
Examples:
http://www.colorzilla.com/gradient-editor/
http://westciv.com/tools/gradients/
http://gradients.glrzad.com/

这篇关于线性梯度等效于莫兹线性梯度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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