Which border radius property will work in IE9?

不羁的心 提交于 2019-11-30 21:52:02

问题


In IE9, which border radius property will work?

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

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


回答1:


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




回答2:


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.

/me rolls eyes.




回答3:


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: 20px;
 -moz-border-radius: 20px;
 -webkit-border-radius: 20px;
 border-radius:20px;


来源:https://stackoverflow.com/questions/3162890/which-border-radius-property-will-work-in-ie9

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!