IETester 模擬 IE6 下 filter:alpha(opacity=0) 不生效,但同事機器真實 IE6 正常。
IETester 僅供參考,不保證渲染引擎 100% 一致。 其 IE6 引擎為模擬層,缺少原生 DirectX 透明濾鏡支持。
.transparent {
/* IE 8- */
filter: alpha(opacity=50); /* 0-100 */
/* 現代瀏覽器 */
opacity: 0.5; /* 0-1 */
/* IE 9+ 支持 opacity,但 filter 會導致字體模糊 */
}
zoom:1、width/height、position:absolute、float 等。