案例:
![](https://img-blog.csdnimg.cn/cac3399d14d744a0b42ef72a65c47aa9.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBANzjlsoHlpKfpvoTnqIvluo_lkZg=,size_12,color_FFFFFF,t_70,g_se,x_16)
图片资源:
![](https://img-blog.csdnimg.cn/b2576e2db1f34cddb6e0a1d945da265d.png)
![](https://img-blog.csdnimg.cn/93bc2fbcae4b42c2bbcaeb8518d98634.png)
![](https://img-blog.csdnimg.cn/8abeff5f57fb45a99afbe7877458efaa.png)
参考代码:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>
<style>
*{
margin: 0;
padding: 0;
}
ul{
margin: 50px auto;
padding-top:5px;
color: white;
width: 180px;
height: 255px;
list-style:none;
border:5px solid #613e72;
}
li{
padding-left: 35px;
line-height: 36px;
margin-left: 10px;
background:#613e72 url("../../素材/icon.png") no-repeat 5px center;
width: 125px;
height: 36px;
margin-top:5px;
}
.one{
color:#613e72;
background:url("../../素材/clock.png") no-repeat left center;
font-size: 15px;
margin-bottom: 5px;
}
.two{
background:url("../../素材/back.png") no-repeat left center;
color:#613e72;
margin-top: 5px;
}
</style>
<body>
<ul>
<li class="one">7月30日0:00开团</li>
<li>新品团</li>
<li>尝鲜团</li>
<li>秒杀团</li>
<li>清仓团</li>
<li class="two">返回顶部</li>
</ul>
</body>
</html>