请问是否正确?

来源:4-3 编程练习

蛤小蛤

2019-05-17 23:40:57

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>text4-3</title>
<style>
      * {
        margin: 0;
        padding: 0;
      }
      /* html,
      body {
        width: 100%;
        height: auto;
      } */
      .content {
        width: 100%;
        height: 4032px;
        background: url(http://climg.mukewang.com/59c9f7ce0001839219034033.png)
          center top no-repeat;
      }
      .left {
        width: 223px;
        height: 362px;
        background: url(http://climg.mukewang.com/5a3383d00001a3dd02240364.png)
          no-repeat;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        margin: auto 0;
      }
      .right {
        width: 223px;
        height: 362px;
        background: url(http://climg.mukewang.com/5a3383c70001f1b702240364.png)
          no-repeat;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        margin: auto 0;
      }
    </style>
</head>
<body>
<div class="content">
<div class="left"></div>
<div class="right"></div>
</div>
</body>
</html>


写回答

1回答

好帮手慕慕子

2019-05-18

同学你好, 代码正确, 效果实现的不错, 继续加油哦~~

欢迎采纳, 祝学习愉快~~~

0

0 学习 · 40143 问题

查看课程

相似问题