麻烦老师看看代码有没有问题

来源:4-3 编程练习

qq_sensitive_0

2018-04-27 10:21:51

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>

*{

margin: 0;
padding: 0;
}

.wangye{

width: 100%;
height: 4033px;
background: url(http://climg.mukewang.com/59c9f7ce0001839219034033.png) center top;
}

.zuo{

width: 224px;
height: 364px;
background: url(http://climg.mukewang.com/5a3383d00001a3dd02240364.png) ;
top: 50%;
margin-top: -182px;
position: fixed;*/
}

.you{

width: 224px;
height: 364px;
background: url(http://climg.mukewang.com/5a3383c70001f1b702240364.png) right;
top: 50%;
right: 0;
margin-top: -182px;
position: fixed;
}

</style>
</head>
<body>
<div class="wangye">
<div class="zuo">
<img src="http://climg.mukewang.com/5a3383d00001a3dd02240364.png" alt=""/></div>
<div class="you"></div>
</div>

</body>
</html>


写回答

1回答

好帮手慕星星

2018-04-27

经测试代码是没有问题的哦,继续加油~~

0

0 学习 · 36712 问题

查看课程