老师帮帮看看是否正确

来源:4-3 编程练习

慕盖茨0282287

2020-08-16 11:41:22

<!DOCTYPE html>

<html>

<head>

    <meta charset="UTF-8">

<title>编程练习</title>

<style>

    *{

        padding:0;

        margin:0;

    }

    .page{

        width:1903px;

        height:4033px;

        background:url("http://climg.mukewang.com/59c9f7ce0001839219034033.png") center top no-repeat;

    }

    .img1{

        width:224px;

        height:364px;

        background:url("http://climg.mukewang.com/5a3383c70001f1b702240364.png") no-repeat;

        position:fixed;

        top:50%;

        right:0;

        margin-top:-182px;

    }

    .img2{

        width:224px;

        height:364px;

        background:url("http://climg.mukewang.com/5a3383d00001a3dd02240364.png") no-repeat;

        position:fixed;

        top:50%;

        left:0px;

        margin-top:-182px;

    }

    

</style>

</head>

<body>

<div class="page">

    <div class="img1"></div>

    <div class="img2"></div>

</div>

</body>

</html>


写回答

1回答

好帮手慕慕子

2020-08-16

同学你好,代码正确,继续加油,祝学习愉块~

0

0 学习 · 40143 问题

查看课程