0

如何在 IE 8 中使用 CSS 创建圆角?由于 CSS 规则corner-radius不起作用,有一种解决方案可以在 IE8(或 IE6 和 IE7)中使用 CSS 来创建圆角。

4

1 回答 1

4

经过大量研究,我发现有一个类似于 IE6 可用的 PNG 透明度修复程序的修复程序,称为 CSS3Pie。解决方案的网站可以在这里找到:http: //css3pie.com

您只需在您希望实现圆角的任何地方behavior: url(path/to/pie_files/PIE.htc);添加到您的 css中。

#myAwesomeElement {
    border: 1px solid #999;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    behavior: url(path/to/pie_files/PIE.htc);
}
于 2013-03-20T20:12:11.930 回答