正斜杠/在CSS边框半径语法中

最近我遇到了以下未知的边界半径语法:

.myClass{
    border-radius: 30% / 20%;
}

任何人都可以解释语法.
它与IE8兼容吗?

最佳答案
W3C开始:

If values are given before and after the slash,then the values before
the slash set the horizontal radius and the values after the slash set
the vertical radius. If there is no slash,then the values set both
radii equally.

至于支持,IE8不支持border-radius属性,无论你写的是什么语法.如果你想在IE8上使border-radius工作,可以使用像CSS3 Pie这样的polyfill.

您可以在CanIUse上查看跨浏览器的边界半径支持.

相关文章

Css3如何实现鼠标移上变长特效?(图文+视频)
css3怎么实现鼠标悬停图片时缓慢变大效果?(图文+视频)
jquery如何实现点击网页回到顶部效果?(图文+视频)
css3边框阴影效果怎么做?(图文+视频)
css怎么实现圆角边框和圆形效果?(图文+视频教程)
Css3如何实现旋转移动动画特效