Css 将-moz radial gradient转换为所有其他支持的浏览器

Css 将-moz radial gradient转换为所有其他支持的浏览器,css,wordpress,firefox,gradient,Css,Wordpress,Firefox,Gradient,我想把这个规则应用到所有支持线性渐变的浏览器上。有人能告诉我,为了在所有其他支持径向渐变的浏览器(如chrome、internet explorer、safari等)中支持上述径向渐变,代码是什么样子的吗 提前感谢。看看这个: 这也很有帮助:你不能在一行代码中使渐变与所有浏览器兼容。你必须为不同的浏览器添加更多兼容的行。试试这个 .gradient { background: -moz-radial-gradient(right bottom , circle farthest-corner,

我想把这个规则应用到所有支持线性渐变的浏览器上。有人能告诉我,为了在所有其他支持径向渐变的浏览器(如chrome、internet explorer、safari等)中支持上述径向渐变,代码是什么样子的吗

提前感谢。

看看这个:


这也很有帮助:

你不能在一行代码中使渐变与所有浏览器兼容。你必须为不同的浏览器添加更多兼容的行。试试这个

.gradient {
background: -moz-radial-gradient(right bottom , circle farthest-corner, #CDCFD1 20%,     #696C71 70%) repeat scroll 0 0 transparent;

使用或在所有浏览器中提供支持。

我不明白为什么,因为我的具体问题是,110%的问题不能用谷歌来回答,至少不能使用我输入的措辞。我想将现有渐变转换为所有其他受支持的浏览器,你给我的链接无助于解决我的问题。你的反对票和其他3票是完全没有根据的。谢谢,但这没有帮助。我想将现有渐变转换为在所有浏览器中兼容,此链接只允许我创建一个新的渐变,我不想这样做。@Nikki Mather u可以使用-moz linear gradient webkit linear gradient和o-linear-gradient添加以使其在所有浏览器中兼容。只需谷歌iThanks,但这没有帮助。我想转换一个现有的渐变以兼容所有浏览器,这个链接只允许我创建一个新的渐变,我不想这样做。谢谢,但这没有帮助。我想将现有的渐变转换为兼容所有浏览器,这个链接只允许我创建一个新的渐变,我不想这样做。
background: rgb(105,108,113); /* Old browsers */
background: -moz-linear-gradient(left,  rgba(105,108,113,1) 30%, rgba(205,207,209,1) 81%, rgba(205,207,209,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(30%,rgba(105,108,113,1)), color-stop(81%,rgba(205,207,209,1)), color-stop(100%,rgba(205,207,209,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left,  rgba(105,108,113,1) 30%,rgba(205,207,209,1) 81%,rgba(205,207,209,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left,  rgba(105,108,113,1) 30%,rgba(205,207,209,1) 81%,rgba(205,207,209,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left,  rgba(105,108,113,1) 30%,rgba(205,207,209,1) 81%,rgba(205,207,209,1) 100%); /* IE10+ */
background: linear-gradient(to right,  rgba(105,108,113,1) 30%,rgba(205,207,209,1) 81%,rgba(205,207,209,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#696c71', endColorstr='#cdcfd1',GradientType=1 ); /* IE6-9 */