麻烦老师批改,谢谢。
来源:2-14 编程练习
qq_慕移动3101913
2019-07-19 12:27:45
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
*{margin:0;padding:0;}
.header{
width:1000px;
height:300px;
background: blue;
margin:0 auto;
}
.header>img{
width:360px;
height:215px;
margin-top:42.5px;
margin-left:93px;
}
.footer{
width:1000px;
height:100px;
background: pink;
margin:0 auto;
}
.footer>img{
width:200px;
height:60px;
margin-top:20px;
margin-left: 100px;
}
</style>
</head>
<body>
<div class="header">
<img src="http://climg.mukewang.com/58c0f808000129a303600215.jpg" alt="CSS3">
<img src="http://climg.mukewang.com/58c0f819000198a703600214.jpg" alt="HTML">
</div>
<div class="footer">
<img src="http://climg.mukewang.com/58c0f81d0001fe4402000060.jpg" alt="">
<img src="http://climg.mukewang.com/58c0f8220001dfce02000060.jpg" alt="">
<img src="http://climg.mukewang.com/58c0f8780001c74602000060.jpg" alt="">
</div>
</body>
</html>
2回答
同学你好,同学的代码是可以实现效果的,另外实现效果的方式有很多,使用哪种方式都是可以的
如果帮助到了你,欢迎采纳~祝学习愉快~
好帮手慕言
2019-07-19
同学你好,效果实现的很棒~继续加油,祝学习愉快~
相似问题