2018-09-12作业

2018-09-12  本文已影响0人  背对背吧

1).导航条

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>12321</title>
<style type="text/css">

</head>
<body>
<ul class="box">
<li><a href="#">首页</a></li>
<li><a href="#">网站建设</a></li>
<li><a href="#">程序开发</a></li>
<li><a href="#">网络营销</a></li>
<li><a href="#">企业VI</a><img src='new.png' style="position:absolute;margin-left:35px;margin-top:-50px;"></li>
<li><a href="#">案例展示</a></li>
<li><a href="#">联系我们</a></li>
</ul>
</body>
</html>


01.PNG

2).图片列表

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>12321</title>
<style type="text/css">

}
.box1{
overflow: hidden;
margin-left: 20px;
padding: 12.5px;
font: bold 18px '微软雅黑';
}
.box2{
width:920px;
height: 219px;
border-top: solid 1px black;
margin:0 auto;
}
.p1{padding: 20px 12.5px 0px 0px}
.p2{float: right;
padding: 20px 0px 0px 12.5px}
.p3{padding: 25px 12.5px 38px 0px}
.p4{float: right;
padding: 25px 0px 38px 12.5px}

.p5{padding: 20px 12.5px 0px 12.5px }
.p6{padding: 25px 12.5px 38px 12.5px}
</style>

</head>
<body>
<div class='box'>
<div class='box1'>图片展示</div>
<div class="box2">
<img class="p1" src="goods.jpg" alt="图片">
<img class="p5" src="goods.jpg" alt="图片">
<img class="p5" src="goods.jpg" alt="图片">
<img class="p5" src="goods.jpg" alt="图片">
<img class="p2" src="goods.jpg" alt="图片">

        <img class="p3" src="goods.jpg" alt="图片">
        <img class="p6" src="goods.jpg" alt="图片">
        <img class="p6" src="goods.jpg" alt="图片">
        <img class="p6" src="goods.jpg" alt="图片">
        <img class="p4" src="goods.jpg" alt="图片">
    </div>
</div>

</body>
</html>

02.PNG
上一篇下一篇

猜你喜欢

热点阅读