IE9 border-radius and background gradient bleeding

前端 未结 17 817
野的像风
野的像风 2020-11-27 10:11

IE9 is apparently able to handle rounded corners by using the CSS3 standard definition of border-radius.

What about support for border radius and

17条回答
  •  无人及你
    2020-11-27 10:36

    I think it's worth mentioning that in many cases you can use an inset box-shadow to "fake" the gradient effect and avoid the ugly edges in IE9. This works especially well with buttons.

    See this example: http://jsfiddle.net/jancbeck/CJPPW/31/

    Comparison of a button style with either linear gradient or box-shadow

提交回复
热议问题