列表
<!DOCTYPE html>
<html>
<head>
<title>hello world</title>
</head>
<style type="text/css">
.list{color: #fff;width: 200px;margin: 0 auto;text-align: center;}
.content{
height: 50px;width:200px;background: green;
}
.line{
height: 5px;width: 200px;background: #777;
}
.item:last-child .line{
display: none;
}
</style>
<body>
<div class="list">
<div class="item">
<div class="content"></div>
<div class="line"></div>
</div>
<div class="item">
<div class="content"></div>
<div class="line"></div>
</div>
<div class="item">
<div class="content"></div>
<div class="line"></div>
</div>
<div class="item">
<div class="content"></div>
<div class="line"></div>
</div>
<div class="item">
<div class="content"></div>
<div class="line"></div>
</div>
<div class="item">
<div class="content"></div>
<div class="line"></div>
</div>
</div>
</body>
</html>
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 3.0 许可协议。转载请注明出处!