开发者

Gradient Backgrounds in internet explorer version <=8

开发者 https://www.devze.com 2023-04-06 09:32 出处:网络
I need to have gradient backgrounds on my website for internet explorer. I know there is some kind of proprietry way of doing this:

I need to have gradient backgrounds on my website for internet explorer. I know there is some kind of proprietry way of doing this:

filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#20799d', EndColorStr='#5cb9df');

But this doesn't grok with border-radius (supported by IE8, at least), which my site uses all over the place.

How should I开发者_高级运维 solve this? (Other than just not having gradient backgrounds on old versions of IE, I mean.)


There's a great library called CSS3PIE, which adds support to IE 6-7-8-9 for many of the CSS3 stuff you seem to be interested in.

I'm using it a lot, and it's never let me down (although it does have its quirks).

0

精彩评论

暂无评论...
验证码 换一张
取 消