background gradients in IE7 with CSS

前端 未结 3 1496
轻奢々
轻奢々 2020-12-16 23:13

I am using the following bit of CSS to create a linear background gradient. It seems to work just fine in IE8/9, FF, Safari and chrome but not in IE7. IE7 shows a solid (gre

3条回答
  •  一个人的身影
    2020-12-17 00:00

    The correct syntax is:

    filter: progid:DXImageTransform.Microsoft.gradient
    (startColorstr=#550000FF, endColorstr=#55FFFF00)
    

    This is supported by IE4>

    See the MSDN source here.

提交回复
热议问题