老师,帮我检查一下
来源:4-3 编程练习
全栈开发者
2019-04-03 06:50:06
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<style>
.subject{
width:100%;
height:4043px;
background:url(http://climg.mukewang.com/59c9f7ce0001839219034033.png);
}
.one{
width:224px;
height:364px;
background:url(http://climg.mukewang.com/5a3383c70001f1b702240364.png) no-repeat;
position:fixed;
left:0;
top:50%;
margin-top: -182px;
}
.two{
width:224px;
height:364px;
background:url(http://climg.mukewang.com/5a3383d00001a3dd02240364.png) no-repeat;
position:fixed;
right: 0;
top:50%;
margin-top: -182px;
}
</style>
</head>
<body>
<div class="subject">
<div class="one">
</div>
<div class="two">
</div>
</div>
</body>
</html>
1回答
同学你好!代码效果实现很好~
如果解决了你的疑惑,望采纳, 祝学习愉快~~
相似问题