css显示不出背景图片,路径没有错误,css和html和图片都在一个文件夹下
css显示不出背景图片,路径没有错误,css和html和图片都在一个文件夹下
日期:2017-09-28 13:52:34 人气:1
#main{
position:relative;
height:3600px;
width:1440px;
z-index:-1;
background:url("background.jpg") no-repeat center rgb(0,0,0);
}
附注:rgba属于css3,IE的低版本不支持的