4-3练习请老师看一下对不对?

来源:4-3 编程练习

慕用0585982

2017-12-30 20:15:44

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>4-3</title>
<style type="text/css">
    *{margin:0px;padding:0px;}
    .page{width:100%;
          height:4040px;
          background:url("http://climg.mukewang.com/59c9f7ce0001839219034033.png") no-repeat top center;
          position:relative;
    } 
    .left-bar{
        width:220px;
        height:250px;
        background:url("http://climg.mukewang.com/5a3383c70001f1b702240364.png");
        position:fixed;
        left:0px;
        
        top:50%;
       
    }
    .right-bar{
        width:220px;
        height:250px;
        background:url("http://climg.mukewang.com/5a3383d00001a3dd02240364.png");
        position:fixed;
       
        right:0px;
        top:50%;
       
    }
</style>
</head>
<body>
<div class="page">
    <div class="left-bar"></div>
    <div class="right-bar"></div>
</div>

</body>
</html>


写回答

1回答

怎么都被占用了呢

2017-12-31

可以呢,继续加油吧~~

0

0 学习 · 36712 问题

查看课程