我在这里测试带圆角的半透明背景(CSS 在 HTML 中):
http://www.lucagiorcelli.it/test/milanificio_boxes/
它们在 IE10 中很好(见截图: http: //o7.no/KSvX2b)。但在 IE9 中它们更暗,角落有鬼影(见截图: http: //o7.no/KSw9P2)。
我的 CSS 有什么问题?
.yellowAlpha35 {
/* Fallback for web browsers that doesn't support RGBa */
background: rgb(245, 221, 183);
filter:alpha(opacity=35);
/* RGBa with 0.6 opacity */
background: rgba(241, 144, 28, 0.35);
/* For IE 5.5 - 7*/
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#23000000, endColorstr=#23000000);
/* For IE 8*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#23000000, endColorstr=#23000000)";
}