Is there a -moz-linear-gradient or a -webkit-gradient type CSS for Opera and other major browsers?
views:
402answers:
1
+2
A:
IE Does infact have support for gradients, Opera, however does not (as of 10.5). IE only supports gradient via the filter attribute for now, maybe in v10 this will change, but for now, you must use either the filter or -ms-filter attribute.
Example:
.simple-gradient {
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#ffffff');
background-image: -moz-linear-gradient(top, #000, #fff);
background-image: -webkit-gradient(linear, left top, left bottom, from(#000), to(#fff));
}
For more more information:
Firefox:
https://developer.mozilla.org/en/CSS/-moz-linear-gradient
https://developer.mozilla.org/en/CSS/-moz-radial-gradient
Webkit:
http://webkit.org/blog/175/introducing-css-gradients/
Internet Explorer:
http://msdn.microsoft.com/en-us/library/ms532997%28VS.85%29.aspx
Dustin Hansen
2010-05-21 02:50:28
Have you looked at Opera transitions? I'm trying to consider those, but I don't understand the docs too well: http://www.opera.com/docs/specs/presto23/css/transitions/
Volomike
2010-09-24 22:09:59