我试图让图像显示在扩展宽度数据表头中。样式使用Zurb Foundation 5.5.3框架。任何人都可以告诉为什么这个CSS被删除在这个下面的图像? (请链接到网站http://iprobesolutions.com/test2这是使用Zurb基金会5.5.3Zurb基金会5.5.3为什么背景图像CSS在数据表头中划掉了?
背景图像显示了罚款,在此JS Fiddle
我一直在试图通过一个剥离一个元素,但只是想不通。出了什么问题与CSS
这是CSS的背景图像的例子:
table.table1 thead .beyer,
#example table.dataTable thead .sorting_asc .beyer {
background-image: url("https://placehold.it/264x140.jpg") no-repeat center `center;
height:264px;
width:140px;
background-size: cover;
background-repeat: no-repeat;
background-position: center top;
height: 10rem;
background-size: contain;
}
被划掉意味着被覆盖。这意味着你的CSS中有一个优先的规则。 – scoopzilla
谢谢是的,我已阅读过有关该问题,但无法找到导致问题的代码。 –
搜索这些规则的所有代码并查看它的重复位置。 – scoopzilla