Support for “border-radius” in IE

后端 未结 11 1170
心在旅途
心在旅途 2020-11-22 06:48

Does anyone know if/when Internet Explorer will support the \"border-radius\" CSS attribute?

11条回答
  •  旧巷少年郎
    2020-11-22 07:26

    A workaround and a handy tool:

    CSS3Pie uses .htc files and the behavior property to implement CSS3 into IE 6 - 8.

    Modernizr is a bit of javascript that will put classes on your html element, allowing you to serve different style definitions to different browsers based on their capabilities.

    Obviously, these both add more overhead, but with IE9 due to only run on Vista/7 we might be stuck for quite awhile. As of August 2010 Windows XP still accounts for 48% of web client OSes.

提交回复
热议问题