先看效果
复制代码:
<style type="text/css"> *{margin: 0;} body{box-sizing: border-box;} .tp-ad-text1 {width:100%;padding-top:6px;box-sizing:border-box;overflow: hidden;background: rgba(255,255,255,.2);} .tp-ad-text1 a {color:#7fba00;font-size:14px;line-height:38px;text-align:center;border:1px dashed rgba(0,0,0,.2);padding:0 3px;box-sizing:border-box;float:left;width:11.5%;height:38px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0.5% 6px;text-decoration:none;transition:all .6s;} .tp-ad-text1 a:hover {font-weight: bold;color:#fff!important;background:#7fba00;transition: all .6s;} .tp-ad-text1 a:nth-child(2n) {color:#f74e1e;} .tp-ad-text1 a:nth-child(2n):hover {background:#f74e1e;border-color: #f74e1e;} .tp-ad-text1 a:nth-child(3n) {color:#00a4ef;} .tp-ad-text1 a:nth-child(3n):hover {background:#00a4ef;border-color: #00a4ef;} .tp-ad-text1 a:nth-child(4n) {color:#0517c2;} .tp-ad-text1 a:nth-child(4n):hover {background:#0517c2;border-color: #0517c2;} .tp-ad-text1 a:nth-child(5n) {color:#601165;} .tp-ad-text1 a:nth-child(5n):hover {background:#601165;border-color: #601165;} .tp-ad-text1 a:nth-child(6n) {color:#ffb900;} .tp-ad-text1 a:nth-child(6n):hover {background:#ffb900;border-color: #ffb900;} .tp-ad-text1 a:nth-child(7n) {color:#0fc317;} .tp-ad-text1 a:nth-child(7n):hover {background:#0fc317;border-color: #0fc317;} .tp-ad-text1 a:nth-child(8n) {color:#601165;} .tp-ad-text1 a:nth-child(8n):hover {background:#601165;border-color: #601165;} .tp-ad-text1 a:nth-child(9n) {color:#fba78f;} .tp-ad-text1 a:nth-child(9n):hover {background:#fba78f;border-color: #fba78f;} .tp-ad-text1 a:nth-child(10n) {color:#13cf8f;} .tp-ad-text1 a:nth-child(10n):hover {background:#13cf8f;border-color: #13cf8f;} .tp-ad-text1 a:nth-child(11n) {color:#f74e1e;} .tp-ad-text1 a:nth-child(11n):hover {background:#f74e1e;border-color: #f74e1e;} .tp-ad-text1 a:nth-child(12n) {color:#ffb900;} .tp-ad-text1 a:nth-child(12n):hover {background:#ffb900;border-color: #ffb900;} .tp-ad-text1 a:nth-child(13n) {color:#fba78f;} .tp-ad-text1 a:nth-child(13n):hover {background:#fba78f;border-color: #fba78f;} .tp-ad-text1 a:nth-child(14n) {color:#f74e1e;} .tp-ad-text1 a:nth-child(14n):hover {background:#f74e1e;border-color: #f74e1e;} .tp-ad-text1 a:nth-child(15n) {color:#7fba00;} .tp-ad-text1 a:nth-child(15n):hover {background:#7fba00;border-color: #7fba00;} .tp-ad-text1 a:nth-child(16n) {color:#0fc317;} .tp-ad-text1 a:nth-child(16n):hover {background:#0fc317;border-color: #0fc317;} .tp-ad-text1 a:nth-child(17n) {color:#0517c2;} .tp-ad-text1 a:nth-child(17n):hover {background:#0517c2;border-color: #0517c2;} .tp-ad-text1 a:nth-child(18n) {color:#13cf8f;} .tp-ad-text1 a:nth-child(18n):hover {background:#13cf8f;border-color: #13cf8f;} .tp-ad-text1 a:nth-child(19n) {color:#ffb900;} .tp-ad-text1 a:nth-child(19n):hover {background:#ffb900;border-color: #ffb900;} .tp-ad-text1 a:nth-child(20n) {color:#f74e1e;} .tp-ad-text1 a:nth-child(20n):hover {background:#f74e1e;border-color: #f74e1e;} @media screen and (max-width: 1198px){ .tp-ad-text1 a{ width: 24%; } } </style> <div class="tp-ad-text1"> <a href="https://1110wang.com/tags-177.html" title="1110搜索" target="_blank">音乐</a> <a href="https://1110wang.com/tags-310.html" title="1110搜索" target="_blank">娱乐</a> <a href="https://1110wang.com/tags-239.html" title="1110搜索" target="_blank">体育</a> <a href="https://1110wang.com/tags-563.html" title="1110搜索" target="_blank">财经</a> <a href="https://1110wang.com/tags-617.html" title="1110搜索" target="_blank">科技</a> <a href="https://1110wang.com/tags-795.html" title="1110搜索" target="_blank">历史</a> <a href="https://1110wang.com/tags-173.html" title="1110搜索" target="_blank">汽车</a> <a href="https://1110wang.com/tags-8674.html" title="1110搜索" target="_blank">自媒体</a> <a href="https://1110wang.com/tags-381.html" title="1110搜索" target="_blank">游戏</a> <a href="https://1110wang.com/tags-21.html" title="1110搜索" target="_blank">房产</a> <a href="https://1110wang.com/tags-234.html" title="1110搜索" target="_blank">时尚</a> <a href="https://1110wang.com/tags-7541.html" title="1110搜索" target="_blank">情感</a> <a href="https://1110wang.com/tags-7078.html" title="1110搜索" target="_blank">搞笑</a> <a href="https://1110wang.com/tags-1363.html" title="1110搜索" target="_blank">美女</a> <a href="https://1110wang.com/tags-7270.html" title="1110搜索" target="_blank">网站目录</a> <a href="https://1110wang.com/tags-7136.html" title="1110搜索" target="_blank">舞蹈</a> <a href="https://1110wang.com/tags-8571.html" title="1110搜索" target="_blank">阿悠悠</a> <a href="https://1110wang.com/tags-8575.html" title="1110搜索" target="_blank">邓紫棋</a> <a href="https://1110wang.com/tags-1017.html" title="1110搜索" target="_blank">张靓颖</a> <a href="https://1110wang.com/tags-545.html" title="1110搜索" target="_blank">教育</a> <a href="https://1110wang.com/tags-7840.html" title="1110搜索" target="_blank">双十一</a> <a href="https://1110wang.com/tags-5000.html" title="1110搜索" target="_blank">社交</a> <a href="https://1110wang.com/tags-19.html" title="1110搜索" target="_blank">招聘</a> <a href="https://1110wang.com/tags-2362.html" title="1110搜索" target="_blank">旅游</a> </div>
上一篇:一个广告位放两个广告代码【现用】
下一篇:先用网站广告代码,小白福利
本文暂无评论 - 欢迎您