IE 8 Compability issue with filter and ms-filter

Angelegt von suung Thu, 20 Jan 2011 13:31:00 GMT

Didn't dive into it yet and honestly: I don't really use IE8, but wanted to share this little info

It is originally from an article about mixing transparency with gradients in CSS3, which is possible using RGBA - values.

/* approximately a 33% opacity on blue */
filter: progid:DXImageTransform.Microsoft.gradient(
  startColorstr=#550000FF, endColorstr=#550000FF
);

/* IE8 uses -ms-filter for whatever reason... */
-ms-filter: progid:DXImageTransform.Microsoft.gradient(
  startColorstr=#550000FF, endColorstr=#550000FF
);


Trackbacks

Verwenden Sie den folgenden Link zur Rückverlinkung von Ihrer eigenen Seite:
http://praktikanten.brueckenschlaeger.org/trackbacks?article_id=418

Leave a comment

Comments