我帶圓角這裏測試半透明背景(CSS都在裏面HTML):CSS:我得到了IE9深色半透明的背景。爲什麼?
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)";
}
它的工作原理!謝謝。 –