filter: progid:DXImageTransform.Microsoft.gradient is not working in ie7

前端 未结 4 730
深忆病人
深忆病人 2021-02-02 08:29

I want to apply a gradient background color to my div.

For IE I have used the property:

filter: progid:DXImageTransform.Microsoft.gradient(s         


        
4条回答
  •  温柔的废话
    2021-02-02 08:53

    In testing IE7/8/9 I was getting an ActiveX warning trying to use this code snippet:

    filter:progid:DXImageTransform.Microsoft.gradient
    

    After removing this the warning went away. I know this isn't an answer, but I thought it was worthwhile to note.

提交回复
热议问题