0
有没有人知道为什么下面的CSS无法在Safari上显示我的背景图片。请注意,这个CSS显示在其他浏览器我的背景图片:Safari上没有显示背景图片
.thGridColumnHeader
{
background-image: url('../Images/Textures/glass.png');
background-image: none,-webkit-linear-gradient(top,rgba(255,255,255,.12) 0,rgba(255,255,255,.08) 50%,rgba(255,255,255,.05) 51%,rgba(255,255,255,.0) 100%);
background-image: none,-moz-linear-gradient(top,rgba(255,255,255,.12) 0,rgba(255,255,255,.08) 50%,rgba(255,255,255,.05) 51%,rgba(255,255,255,.0) 100%);
background-image: none,-o-linear-gradient(top,rgba(255,255,255,.12) 0,rgba(255,255,255,.08) 50%,rgba(255,255,255,.05) 51%,rgba(255,255,255,.0) 100%);
background-image: none,linear-gradient(to bottom,rgba(255,255,255,.12) 0,rgba(255,255,255,.08) 50%,rgba(255,255,255,.05) 51%,rgba(255,255,255,.0) 100%);
background-position: 50% 50%;
background-color: #1d1d1d;
}
下面是其他浏览器上
这里输出是在Safari
你应该接受你的答案,如果你能 – vijrox
@VijayRamamurthy它说我要等两天解决它。 –
我已经找到解决方案谢谢你的answare,但我有其他问题,我以编程方式添加背景图像,所以我不能把“背景图像的CSS”放在底部,你知道如何解决它? –