CSS右侧列的内容与要垂直堆叠的图像。 CSS未显示右侧列
#stack {
float:right;
clear:right;
#rightcolumnTop {
background-image: "../../images/project-header.jpg"
margin-top: 0px;
width: 600px;
margin-left: -600px;
float: left;
z-index:1;
}
#rightcolumnMiddle {
background-image: "../../images/wines-header.jpg"
position:absolute;
width: 600px;
margin-left: -600px;
float: left;
z-index:2;
}
JSFiddle链接:https://jsfiddle.net/y08uw36v/
最佳答案
将您的颜色更改为更深的颜色,您可以使用#fff
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
color:#333 <----
}
关于html - CSS右列垂直堆积未显示,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/45224579/