加入收藏 | 设为首页 | 会员中心 | 我要投稿 焦作站长网 (https://www.0391zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 系统 > 正文

CSS3+DIV实现漂亮的动画彩色标签

发布时间:2020-03-13 21:20:15 所属栏目:系统 来源:站长网
导读:这篇文章主要为大家详细介绍了CSS3+DIV实现漂亮的动画彩色标签,鼠标移动会有动画 ,很神奇的动画效果,感兴趣的小伙伴们可以参考一下

CSS3+DIV实现漂亮的动画彩色标签

CSS Code复制内容到剪贴板

<style>   

  

.dict { margin20px 0;clear:both ;text-align:left;font-size:12px;}   

  

.dict a { line-height24pxheight24pxdisplayinline-blockbackground#fffpadding3px 11pxmargin10px 5px 0 0; border-radius: 8px; -moz-transition: all 0.5s; -webkit-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s; }   

  

.dict a { color#FFF;text-decoration:none }   

  

.dict a:hover { border-radius: 0; text-shadow#000 1px 1px 1px }   

  

.dict .pcolor a:nth-child(8n-7) { background#8A9B0F }   

  

.dict .pcolor a:nth-child(8n-6) { background#EB6841 }   

  

.dict .pcolor a:nth-child(8n-5) { background#3FB8AF }   

  

.dict .pcolor a:nth-child(8n-4) { background#FE4365 }   

  

.dict .pcolor a:nth-child(8n-3) { background#FC9D9A }   

  

.dict .pcolor a:nth-child(8n-2) { background#EDC951 }   

  

.dict .pcolor a:nth-child(8n-1) { background#C8C8A9 }   

  

.dict .pcolor a:nth-child(8n) { background#83AF9B }   

  

.dict .pcolor a:first-child { background#036564 }   

  

.dict .pcolor a:last-child { background#3299BB }   

  

</style>   

  

<div class="dict">   

  

    <p class="pcolor">   

  

        <a href="#">html</a>   

  

        <a href="#">css3</a>   

  

        <a href="#">网站模版</a>   

  

        <a href="#">个人博客模版</a>   

  

        <a href="#">扁平化</a>   

  

        <a href="#">div+css</a>   

  

        <a href="#">bootstrap</a>   

  

        <a href="#">企业模版</a>   

  

        <a href="#">古典/文化</a>   

  

        <a href="#">婚纱摄影</a>   

  

        <a href="#">爱情</a>   

  

        <a href="#">jquery</a>   

  

    </p>   

  

</div>   

(编辑:焦作站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读