开发者

IE8 css3 border radius with x and y attributes

开发者 https://www.devze.com 2023-02-22 00:21 出处:网络
Does anyone know of a way to do the following in IE8?开发者_Go百科 -moz-border-radius-bottomleft: 70% 100%;

Does anyone know of a way to do the following in IE8?开发者_Go百科

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

CSS3PIE only supports the simple border radius it seems, as well as most of the other IE css3 plug-ins.


PIE does in fact support different x/y radii per corner; however you have to do it using the shorthand syntax, as described in the documentation: http://css3pie.com/documentation/supported-css3-features/#border-radius

For your example, it would be:

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

As far as I'm aware, PIE is the only one of the IE CSS3 polyfills that supports this in any fashion.

0

精彩评论

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

关注公众号