Chi*_*ani -3 html css html5 background-image css3
我试图让图像在背景中显示为一个统一的图像.我究竟做错了什么?谢谢.
.content{
background-color: gray;
top: 0;
position: relative;
background-size: cover;
left: 0;
right: 0;
bottom: 0;
background:url(cropped.jpg);
background-repeat: no repeat;
}
Run Code Online (Sandbox Code Playgroud)