IE8中rgba值和border radius值为0.0的解决方法。 我得到的错误是
Value "rgba(250, 250, 250, .6)" is not supported. (8.0)
Property "-webkit-border-radius" is not supported. (8.0)
最佳答案
选项 1
http://jquery.malsup.com/corner/
选项 2
http://code.google.com/p/curved-corner/downloads/detail?name=border-radius-demo.zip
选项 3
选项 4
http://www.netzgesta.de/corner/
选项 5
看这个问题
编辑:选项 6
https://code.google.com/p/jquerycurvycorners/ - 边界半径。 对于 rgba,您可以尝试创建不透明的 .png 图像并将其作为背景
或者试试
.transparent_class {
/* IE 8 */
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
/* IE 5-7 */
filter: alpha(opacity=50);
/* Netscape */
-moz-opacity: 0.5;
/* Safari 1.x */
-khtml-opacity: 0.5;
/* Good browsers */
opacity: 0.5;
}
关于IE8 的 CSS 属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45739930/