Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 为什么';这个梯度在Safari中不起作用吗?_Css - Fatal编程技术网

Css 为什么';这个梯度在Safari中不起作用吗?

Css 为什么';这个梯度在Safari中不起作用吗?,css,Css,这在Firefox中有效,但由于某些原因,渐变不适用于Safari。有什么想法吗 #footer .buttons .btn { width: 110px; height: 61px; background: #BAE9FF; -moz-border-radius: 15px; border-radius: 15px; background: -moz-linear-gradient(top, #BAE9FF 0%, #2081D6 100%);

这在Firefox中有效,但由于某些原因,渐变不适用于Safari。有什么想法吗

#footer .buttons .btn {
    width: 110px;
    height: 61px;
    background: #BAE9FF;
    -moz-border-radius: 15px;
    border-radius: 15px;
    background: -moz-linear-gradient(top, #BAE9FF 0%, #2081D6 100%);
    background: -webkit-gradient(linear, left top, left bottom, colorstop(0%,#BAE9FF), colorstop(100%,#2081D6));
}

只需将
颜色停止
更改为
颜色停止
内部
-webkit gradient

你到底是怎么去掉那些连字符的


我建议您使用此网站生成CSS3,这样您就不会出错:


只需在
-webkit gradient
内部将
colorstop
更改为
colorstop

你到底是怎么去掉那些连字符的


我建议您使用此网站生成CSS3,这样您就不会出错:


colorstop
应该是
colorstop
我认为:

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#BAE9FF), color-stop(100%,#2081D6));

colorstop
应该是
colorstop
我认为:

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#BAE9FF), color-stop(100%,#2081D6));

自由流。我不敢相信是那样的。那个网站非常有用,我一定会使用它。我不敢相信是那样的。那个网站很有用,我一定会用的。