开发者

Equivalant of this gradient code in ie css filter

开发者 https://www.devze.com 2022-12-23 23:37 出处:网络
i need anequivalent or an alternative for this code in internet explorer using the filter method background: -moz-linear-gradient(c开发者_StackOverflow社区enter bottom , rgb(132, 133, 132) 0%, rgb(3

i need an equivalent or an alternative for this code in internet explorer using the filter method

background: -moz-linear-gradient(c开发者_StackOverflow社区enter bottom , rgb(132, 133, 132) 0%, rgb(35, 35, 35) 49%, rgb(104, 104, 104) 100%) repeat scroll 0% 0% transparent;

the most important thing in the code is the points ( 0% - 49% - 100% ) i believe that the filter method doesn't have points and doesn't accpect more than two parms for the colors ,

Is there a way to do it in filter or a javascript script for that ? Thanks.


filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#0000FF', EndColorStr='#000000')"


See http://msdn.microsoft.com/en-us/library/ms532997%28VS.85%29.aspx

filter: progid:DXImageTransform.Microsoft.Gradient(sProperties);
0

精彩评论

暂无评论...
验证码 换一张
取 消