分享一段漂亮的文字AD代码

释放双眼,带上耳机,听听看~!

小编觉得挺好看的,就给大家分享出来吧!

具体效果可在本站首页查看

<div class="topics visible-lg-block"><div class="topics-cont"> 
<a href="https://www.souluoba.com/" target="_blank">
<span>ECS</span> 云服务器</a> 
<a href="https://www.souluoba.com/" target="_blank">
<span>CDN</span> 又拍云OSS</a> 
<a href="https://www.souluoba.com/" target="_blank">
<span>WP</span> wp主题</a> 
<a href="#" target="_blank"><span>Redis</span> 云数据库</a> 
<a href="#" target="_blank"><span>CDN</span> 内容分发</a> 
<a href="#" target="_blank"><span>OSS</span> 对象存储</a> 
<a href="#" target="_blank"><span>SLB</span> 负载均衡</a> 
<a href="https://www.souluoba.com/" target="_blank"><span>blog</span> 搜罗吧</a> 
<a href="#" target="_blank"><span>DNS</span> 云解析</a> 
<a href="#" target="_blank"><span>MAIL</span> 企业邮箱</a> 
<a href="#" target="_blank"><span>WAF</span> 应用防火墙</a> 
<a href="#" target="_blank"><span>DDoS</span> 高防</a> 
<a href="#" target="_blank"><span>SMS</span> 短信包</a> 
<a href="#" target="_blank"><span>MK</span> 云市场</a> 
<a href="#" target="_blank"><span>XIN</span> 心选</a> 
<a href="#" target="_blank"><span>IM</span> 商标注册</a> 
<a href="#" target="_blank"><span>JZ</span> 自营建站</a></div></div>

css代码

/* 搜罗吧-www.souluoba.com */
.topics {
  background:#fff;
  border-radius:3px;
  overflow:hidden
}
.topics .topics-cont a {
  display:inline-block;
  white-space:nowrap;
  padding:2px 5px;
  border-radius:3px;
  margin:10px 0 0 10px;
  font-size:13px;
  line-height:1.8;
  color:#656565
}
.topics .topics-cont a span {
  color:#fe5b34;
  font-family:"Microsoft YaHei",Helvetica,Arial,"WenQuanYi Micro Hei",SimSun,sans-serif
}
.topics .topics-cont a:hover {
  background-color:#d806da;
  background-image:-webkit-linear-gradient(left,#9796f0 0,#d806da 50%,#ff5757 100%);
  background-image:linear-gradient(to right,#9796f0 0,#d806da 50%,#ff5757 100%);
  color:#fff
}
.topics .topics-cont a:hover span {
  color:#fff
}
.topics .topics-cont a:nth-child(1),.topics .topics-cont a:nth-child(2),.topics .topics-cont a:nth-child(3),.topics .topics-cont a:nth-child(4),.topics .topics-cont a:nth-child(5),.topics .topics-cont a:nth-child(6),.topics .topics-cont a:nth-child(7),.topics .topics-cont a:nth-child(8) {
  animation:topic-animate 16s ease infinite
}
.topics .topics-cont a:nth-child(1) span,.topics .topics-cont a:nth-child(2) span,.topics .topics-cont a:nth-child(3) span,.topics .topics-cont a:nth-child(4) span,.topics .topics-cont a:nth-child(5) span,.topics .topics-cont a:nth-child(6) span,.topics .topics-cont a:nth-child(7) span,.topics .topics-cont a:nth-child(8) span {
  animation:topic-animate-span 16s ease infinite
}
.topics .topics-cont a:nth-child(2) {
  animation-delay:2s
}
.topics .topics-cont a:nth-child(2) span {
  animation-delay:2s
}
/* 搜罗吧-www.souluoba.com */
.topics .topics-cont a:nth-child(3) {
  animation-delay:4s
}
.topics .topics-cont a:nth-child(3) span {
  animation-delay:4s
}
.topics .topics-cont a:nth-child(4) {
  animation-delay:6s
}
.topics .topics-cont a:nth-child(4) span {
  animation-delay:6s
}
.topics .topics-cont a:nth-child(5) {
  animation-delay:8s
}
.topics .topics-cont a:nth-child(5) span {
  animation-delay:8s
}
.topics .topics-cont a:nth-child(6) {
  animation-delay:10s
}
.topics .topics-cont a:nth-child(6) span {
  animation-delay:10s
}
.topics .topics-cont a:nth-child(7) {
  animation-delay:12s
}
.topics .topics-cont a:nth-child(7) span {
  animation-delay:12s
}
/* 搜罗吧-www.souluoba.com */
.topics .topics-cont a:nth-child(8) {
  animation-delay:14s
}
.topics .topics-cont a:nth-child(8) span {
  animation-delay:14s
}
.topics .topics-cont:hover a,.topics .topics-cont:hover a span {
  animation:none
}
@keyframes topic-animate {
  0%,12.5% {
  background:#fff;
  color:#555
}
10%,2% {
  background-color:#d806da;
  background-image:-webkit-linear-gradient(left,#9796f0 0,#d806da 50%,#ff5757 100%);
  background-image:linear-gradient(to right,#9796f0 0,#d806da 50%,#ff5757 100%);
  color:#fff
}
}@keyframes topic-animate-span {
  0%,12.5% {
  color:#fe5b34
}
10%,2% {
  color:#fff
}
}.topics .topics-cont {
  max-height:90px;
  overflow:hidden
}
教程资讯

Windows11、Win10图标完美去除快捷方式小箭头的方法

2022-10-18 9:58:35

教程资讯

网站域名被墙的完美解决方案,301重定向的设置方法

2023-1-4 16:10:36

搜索