在IE9中,哪个边界半径属性可以工作?
border-radius:20px
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
Run Code Online (Sandbox Code Playgroud)
border-radius:20px 要么 ms-border-radius:20px
看到<div>元素正确渲染边框/边框半径,但任何<a>或<button>具有背景,边框和边框半径设置的元素都将背景颜色或图像显示为正方形,并且只有边框为圆形.尝试设置<a>与<button>以display: block或display: inline-block,但没有奏效.
有一个已知的解决方法吗?
以下是Webkit计算样式的链接:https://gist.github.com/773719

这是IE9开发工具的计算样式:

更新 使用过滤器:; 或-ms-filter:; IE中具有渐变的属性使背景突破定义的border-radius.