首页 > 其他 > 详细

列表制作

时间:2018-04-26 13:14:56      阅读:195      评论:0      收藏:0      [点我收藏+]

1.制作下面图像列表

技术分享图片

2.<style type="text/css">

ul{ width: 200px; list-style: none;}
ul li{margin-top: 10px;}
ul li a{
display: block;
height: 35px;
line-height: 35px;
text-decoration: none;
color:#fff;
background-image: linear-gradient(to bottom,#9EB829,#9EB829);
border-radius: 8px;
font-size: 12px;
padding-left: 20px;
}
ul li a:hover{background-image: linear-gradient(to bottom,#,#);padding left: 25px;}
ul li a:active{background-image: linear-gradient(to bottom,#,#);}

</style>

<ul>
<li><a href="#">公司福利</a></li>
<li><a href="#">家庭福利</a></li>
<li><a href="#">情侣福利</a></li>
<li><a href="#">个人福利</a></li>
<li><a href="#">儿童福利</a></li>
</ul>

列表制作

原文:https://www.cnblogs.com/feifei521/p/8945794.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!