头闻号

海宁市斯科塑胶有限公司

橡胶板|工业用橡胶制品|农业用橡胶制品|生活日用橡胶制品|医用塑胶制品|橡胶加工

首页 > 新闻中心 > 科技常识:CSS3+DIV实现漂亮的动画彩色标签
科技常识:CSS3+DIV实现漂亮的动画彩色标签
发布时间:2023-02-01 10:36:24        浏览次数:3        返回列表

今天小编跟大家讲解下有关CSS3+DIV实现漂亮的动画彩色标签 ,相信小伙伴们对这个话题应该有所关注吧,小编也收集到了有关CSS3+DIV实现漂亮的动画彩色标签 的相关资料,希望小伙伴们看了有所帮助。

先看看效果图:

CSS Code复制内容到剪贴板 <style> .dict{margin:20px0;clear:both;text-align:left;font-size:12px;} .dicta{line-height:24px;height:24px;display:inline-block;background:#fff;padding:3px11px;margin:10px5px00;border-radius:8px;-moz-transition:all0.5s;-webkit-transition:all0.5s;-o-transition:all0.5s;transition:all0.5s;} .dicta{color:#FFF;text-decoration:none} .dicta:hover{border-radius:0;text-shadow:#0001px1px1px} .dict.pcolora:nth-child(8n-7){background:#8A9B0F} .dict.pcolora:nth-child(8n-6){background:#EB6841} .dict.pcolora:nth-child(8n-5){background:#3FB8AF} .dict.pcolora:nth-child(8n-4){background:#FE4365} .dict.pcolora:nth-child(8n-3){background:#FC9D9A} .dict.pcolora:nth-child(8n-2){background:#EDC951} .dict.pcolora:nth-child(8n-1){background:#C8C8A9} .dict.pcolora:nth-child(8n){background:#83AF9B} .dict.pcolora:first-child{background:#036564} .dict.pcolora:last-child{background:#3299BB} </style> <divclass="dict"> <pclass="pcolor"> <ahref="#">html</a> <ahref="#">css3</a> <ahref="#">网站模版</a> <ahref="#">个人博客模版</a> <ahref="#">扁平化</a> <ahref="#">div+css</a> <ahref="#">bootstrap</a> <ahref="#">企业模版</a> <ahref="#">古典/文化</a> <ahref="#">婚纱摄影</a> <ahref="#">爱情</a> <ahref="#">jquery</a> </p> </div> 以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持爱蒂网。

原文链接:http://www.cnblogs.com/cssteach/archive/2016/06/16/5590375.html

来源:爱蒂网