【问题标题】:IE8 css3 border radius with x and y attributes具有 x 和 y 属性的 IE8 css3 边框半径
【发布时间】:2011-04-01 17:34:07
【问题描述】:

有人知道在 IE8 中执行以下操作的方法吗?

-moz-border-radius-bottomleft: 70% 100%;

CSS3PIE 只支持它看起来的简单边框半径,以及大多数其他 IE css3 插件。

【问题讨论】:

    标签: internet-explorer-8 cross-browser css css3pie


    【解决方案1】:

    PIE 实际上支持每个角的不同 x/y 半径;但是,您必须使用速记语法,如文档中所述:http://css3pie.com/documentation/supported-css3-features/#border-radius

    对于您的示例,它将是:

    border-radius: 0 0 0 70% / 0 0 0 100%;
    

    据我所知,PIE 是唯一一个以任何方式支持此功能的 IE CSS3 polyfill。

    【讨论】:

    • 感谢 Lojjic,我已经将布局转换为图像,但我会尝试一下。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-01-08
    • 1970-01-01
    • 1970-01-01
    • 2012-06-17
    • 1970-01-01
    • 1970-01-01
    • 2015-06-27
    相关资源
    最近更新 更多