.page_bg {
position: absolute;
top: 50%;
left: 50%;
width: 2500px;
height: 1600px;
margin: -800px 0 0 -1250px;
z-index: -1;
}
.page_bg:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url(../img/bg1.jpg) no-repeat center center;
transform-origin: center 708px;
-webkit-transform-origin: center 708px;
}
css 这段代码什么意思?小白求解答
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-