Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Internet explorer 饼图CSS:rgba背景+;盒子阴影_Internet Explorer_Css_Css3pie - Fatal编程技术网

Internet explorer 饼图CSS:rgba背景+;盒子阴影

Internet explorer 饼图CSS:rgba背景+;盒子阴影,internet-explorer,css,css3pie,Internet Explorer,Css,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 1

我注意到,像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);
}
我将在FireFox&IE/PIE中获得以下内容


有可能解决这个问题吗?通过rgba背景显示的框阴影?

对您来说是个坏消息:它看起来不起作用

根据该网站,它支持RGBA颜色,但

当前,即使指定rgba颜色值,所有颜色停止点都渲染为完全不透明。这是由于VML的线性渐变语法中的限制,该语法不允许为单个颜色停止设置不透明度

(见附件)


他们还为它记录了一张票:

erm,它实际上不是渐变,为了让它真正起作用,PIE必须以某种方式“遮掩”背景下的阴影…@jiewmeng:这就是RGBA中的“a”是什么-它是阿尔法香奈儿,它提供了半透明度。这就是他试图使用的效果,但PIE不支持它,所以它只是使用RGB值并忽略A,这就是导致他出现问题的原因。