哪个边界半径属性在IE9中可以使用?

时间:2022-06-24 19:43:16

In IE9, which border radius property will work?

在IE9中,哪个边界半径属性可以工作?

 border-radius:20px
-webkit-border-radius: 20px;
-moz-border-radius: 20px;

border-radius:20px or ms-border-radius:20px

border-radius:20px或ms-border-radius:20px

3 个解决方案

#1


13  

IE9 will support border-radius see: http://ie.microsoft.com/testdrive/HTML5/01BorderRadius/Default.html

IE9将支持border-radius参见:http://ie.microsoft.com/testdrive/HTML5/01BorderRadius/Default.html

#2


7  

border-radius will work. In fact MS made a big deal about how they're the only browser that actually supports the 'standards' while all the other vendors uses specific prefixes.

border-radius将起作用。实际上,MS对于它们是唯一实际支持“标准”的浏览器以及所有其他供应商使用特定前缀的方式做了大量工作。

/me rolls eyes.

/我滚动眼睛。

#3


4  

If you're reading this page then may also wish to consider include khtml-border-radius for compliance with Konqueror so it looks like:

如果你正在阅读这个页面,那么也可以考虑包括khtml-border-radius以符合Konqueror所以它看起来像:

 -khtml-border-radius: 20px;
 -moz-border-radius: 20px;
 -webkit-border-radius: 20px;
 border-radius:20px;

#1


13  

IE9 will support border-radius see: http://ie.microsoft.com/testdrive/HTML5/01BorderRadius/Default.html

IE9将支持border-radius参见:http://ie.microsoft.com/testdrive/HTML5/01BorderRadius/Default.html

#2


7  

border-radius will work. In fact MS made a big deal about how they're the only browser that actually supports the 'standards' while all the other vendors uses specific prefixes.

border-radius将起作用。实际上,MS对于它们是唯一实际支持“标准”的浏览器以及所有其他供应商使用特定前缀的方式做了大量工作。

/me rolls eyes.

/我滚动眼睛。

#3


4  

If you're reading this page then may also wish to consider include khtml-border-radius for compliance with Konqueror so it looks like:

如果你正在阅读这个页面,那么也可以考虑包括khtml-border-radius以符合Konqueror所以它看起来像:

 -khtml-border-radius: 20px;
 -moz-border-radius: 20px;
 -webkit-border-radius: 20px;
 border-radius:20px;