IE Filter Antialiasing problem

后端 未结 3 1375
暗喜
暗喜 2021-01-17 04:17

So i have a page with a bunch of images. And I have a function which fades out these layers using IE\'s opacity filter through javascript.

Now when

3条回答
  •  天命终不由人
    2021-01-17 04:41

    There is a trick I have used... if the background behind the text is such that you can pick a solid color that will match it within a reasonable degree, you can use the following pair of CSS rules to do faux-antialiasing on the text, in IE only:

    background-color: #CCCCCC; /pick the color that matches your background/ filter:progid:DXImageTransform.Microsoft.Chroma(color='#CCCCCC'); /use the same color here/

提交回复
热议问题