我有背景色透明表示作为白色背景色透明显示为白色
中间一列是DIV“包装”
其中有风格:background: url('../images/layout/bg_wrapper.gif') 0 0 repeat-y;
如果我去控制台和类型:
x=document.getElementById('wrapper');
window.getComputedStyle(x, null).getPropertyValue('background-color');
我得到:
"rgba(0, 0, 0, 0)"
然而就说明它的背景为白色,而不是车身颜色(黄绿色)。
这是为什么?
Thx!