请帮忙检查下代码!
来源:4-3 编程练习
慕用5088852
2019-08-05 19:35:51
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>4-3编程练习</title>
<style>
*{
margin: 0;
padding: 0;
}
.container{
background-color: #E3E3E3;
background: url(http://climg.mukewang.com/59c9f7ce0001839219034033.png) top center no-repeat;
width: 100%;
height: 4033px;
}
.right_add{
height: 364px;
width: 224px;
background: url(http://climg.mukewang.com/5a3383c70001f1b702240364.png) top center no-repeat;
position: fixed;
right: 0;
top: 50%;
margin-top: -182px;
}
.left_add{
height: 364px;
width: 224px;
background: url(http://climg.mukewang.com/5a3383d00001a3dd02240364.png) top center no-repeat;
left: 0;
top: 50%;
margin-top: -182px;
position: fixed;
}
</style>
</head>
<body>
<div class="container">
<div class="right_add"></div>
<div class="left_add"></div>
</div>
</body>
</html>
1回答
好帮手慕夭夭
2019-08-06
你好同学,效果实现正确,继续加油,祝学习愉快!
相似问题