JM *_*ork 5 internet-explorer css3 css3pie
我注意到用CSS喜欢
body {
background: #f00;
}
div {
background: rgba(255,255,255,0.4);
-pie-background: rgba(255,255,255,0.4);
-moz-box-shadow: 0 0 10px rgba(0,0,0,0.4);
-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.4);
box-shadow: 0 0 10px rgba(0,0,0,0.4);
padding: 50px;
behavior: url(PIE.htc);
}
Run Code Online (Sandbox Code Playgroud)
我将在FireFox和IE/PIE中获得以下内容

有可能解决这个问题吗?通过rgba背景显示的框阴影?
给你带来坏消息:它看起来不像是有效的.
根据CSS3Pie网站,它支持RGBA颜色,但......
目前,即使指定了rgba颜色值,所有色标都会呈现为完全不透明.这是由于VML线性渐变语法的限制,不允许为单个色标设置不透明度.
(见http://css3pie.com/documentation/supported-css3-features/)
他们还有一张为它记录的票:https://github.com/lojjic/PIE/issues#issue/7