案例:
![](https://i-blog.csdnimg.cn/blog_migrate/f138f82e75f643af1b1e4169db8832d3.png)
图片资源:
![](https://i-blog.csdnimg.cn/blog_migrate/45cc1f08b5ce28c9e4430bd7df77c08d.jpeg)
参考代码:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style>
*{
margin: 0;
padding: 0;
}
.wai{
width: 171px;
height: 489px;
background: url("bg.jpg") no-repeat;
}
.nei{
padding-top:180px;
margin-left:53px;
width:65px;
height:250px;
}
li{
color: white;
list-style: none;
border-bottom: 1px dashed white;
line-height:40px;
}
.one{
border-bottom:none;
}
</style>
</head>
<body>
<div class="wai">
<div class="nei">
<ul>
<li>服装鞋帽</li>
<li>数码家电</li>
<li>运动户外</li>
<li>孕婴用品</li>
<li class="one">厨卫家居</li>
</ul>
</div>
</div>
</body>
</html>