麻烦老师看一下
来源:4-3 编程练习
慕沐0052060
2019-05-01 15:29:52
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
*{
padding:0;
margin:0;
}
.con{
width:1500px;
height:1500px;
text-align:center;
line-height:1500px;
background:url(http://climg.mukewang.com/59c9f7ce0001839219034033.png) center top;
position:relative;
}
.adleft{
width:224px;
height:364px;
top:50%;
margin-top:-182px;
position:fixed;
background:url(http://climg.mukewang.com/5a3383d00001a3dd02240364.png);
}
.adright{
width:224px;
height:364px;
top:50%;
right:0;
margin-top:-182px;
position:fixed;
background:url(http://climg.mukewang.com/5a3383c70001f1b702240364.png);
}
</style>
</head>
<body>
<div class="con">
<div class="adleft"></div>
<div class="adright"></div>
</div>
</body>
</html>
1回答
好帮手慕夭夭
2019-05-01
你好同学,实现的没有问题,很棒,祝学习愉快!
相似问题