Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.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
Html Firefox和IE中的线性渐变代码_Html_Css_Colors_Linear Gradients - Fatal编程技术网

Html Firefox和IE中的线性渐变代码

Html Firefox和IE中的线性渐变代码,html,css,colors,linear-gradients,Html,Css,Colors,Linear Gradients,我从w3获得的这些渐变代码并不适用于所有浏览器。 任何帮助都将不胜感激。:) 创建你自己的网站谢谢,那个网站非常有用。:) #woodwhite{position:absolute;left:1000px;width:345px;height:1400;top:0px;z-index:10; background:-webkit-linear-gradient(-90deg, rgba(255,255,255,0),rgba(255,255,255,1)); background:-o-line

我从w3获得的这些渐变代码并不适用于所有浏览器。
任何帮助都将不胜感激。:)

创建你自己的网站谢谢,那个网站非常有用。:)
#woodwhite{position:absolute;left:1000px;width:345px;height:1400;top:0px;z-index:10;
background:-webkit-linear-gradient(-90deg, rgba(255,255,255,0),rgba(255,255,255,1));
background:-o-linear-gradient(-90deg, rgba(255,255,255,0),rgba(255,255,255,1));
background:-moz-linear-gradient(-90deg, rgba(255,255,255,0),rgba(255,255,255,1));
background:linear-gradient(-90deg, rgba(255,255,255,0),rgba(255,255,255,1));"}
background: #999; /* for non-css3 browsers */

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000'); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#000)); /* for webkit browsers */
background: -moz-linear-gradient(top,  #ccc,  #000); /* for firefox 3.6+ */