作业提交,

来源:4-3 编程练习

慕村1994845

2020-06-20 09:31:30

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
<title></title>
<style type="text/css">
    .con{
        width:100%;
        height:4000px;
        /*margin:0 auto;*/
        background:url("http://climg.mukewang.com/59c9f7ce0001839219034033.png");
    }
    
    .sidebar1 img,.sidebar2 img{
        width:230px;
        height:340px;
    }
    .sidebar1{
        position:fixed;
        right:0;
        top:50%;
        margin-top:-170px;
    }
    .sidebar2{
        position:fixed;
        top:50%;
        margin-top:-170px;
    }
</style>
</head>
<body>
<div class="con">
   
    <div class="sidebar1"><img src="http://climg.mukewang.com/5a3383c70001f1b702240364.png" /></div>
    <div class="sidebar2"><img src="http://climg.mukewang.com/5a3383d00001a3dd02240364.png" /></div>
</div>
</body>
</html>


写回答

1回答

好帮手慕糖

2020-06-20

同学你好,代码是正确的,继续加油。祝学习愉快~

0

0 学习 · 40143 问题

查看课程

相似问题