4-3麻烦老师看一下对不对

来源:4-3 编程练习

小肥桐

2018-01-05 15:52:57

<!DOCTYPE html>

<html>

<head>

    <meta charset="UTF-8">

<title>慕课网</title>

<style type="text/css">

   *{margin:0;padding:0;}

   .big{width:100%;height:4000px;background:url(http://climg.mukewang.com/59c9f7ce0001839219034033.png) no-repeat top center}

   .left{width:220px;height:250px;background:url(http://climg.mukewang.com/5a3383d00001a3dd02240364.png) no-repeat top center; position:fixed;left:0px;top:50%;margin-top:-125px}

   .right{width:220px;height:250px;background:url(http://climg.mukewang.com/5a3383c70001f1b702240364.png) no-repeat top center;position:fixed;right:0px;top:50%;margin-top:-125px}

</style>

</head>

<body>

<div class="big">

   <div class="left"></div>

   <div class="right"></div>

</div>

</body>

</html>


写回答

1回答

好帮手慕糖

2018-01-05

你好,经测试,实现效果没有问题,继续加油!

祝学习愉快~

0

0 学习 · 36712 问题

查看课程