添加到背景图像谁能想到,为什么我的CSS没有这种背景图像上添加透明色(不透明度)覆盖:为所有帮助试图不透明的CSS
.header-image {
display: block;
width: 100%;
text-align: center;
/* image must be 1900 x 500 */
background: url('back.1.jpg') no-repeat center center scroll;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
opacity: 1.0;
}
感谢。