一段非常好看的纯代码广告样式

一段非常好看的纯代码广告样式

一段非常好看的纯代码广告样式,演示效果如下,附上源代码:

一段非常好看的纯代码广告样式插图
好看的广告代码

广告代码:

图片广告样式:

<!--图片广告区域开始-->
<div style="background-color:#fff;box-shadow:0px 0px 10px #dedede;padding:5px;margin-top:5px;margin-bottom:5px;">
<a class="adplan" data-id="15" style="display:block;width:100%;margin-bottom:10px;" rel="nofollow" target="_blank" href="https://www.360mb.net/,https://www.360mb.net" title="广告联系q:963020001过期时间:永久"> <img src="https://www.360mb.net/gge/gg.png" style="max-height:70px;width:100%;border-radius:4px;" width="644" height="70" title="" align=""  /></a> 
<!--图片广告区域结束-->

滚动公告样式:

隐藏内容

本内容需评论后查看

文字栏广告样式:

<!--文字广告开始-->
<style>
.txtguanggao{width: 100%;overflow: hidden;display: block;box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);}.txtguanggao a{width: 24.5%;float: left;border-radius: 2px;line-height: 35.35px;height: 35.35px;text-align: center;font-size: 14px;color: #fff;display: inline-block;background-color: rgb(255, 153, 159);margin: 2.5px;transition-duration: .3s;}.txtguanggao a:nth-child(1) {background-color: #dc3545;}.txtguanggao a:nth-child(2) {background-color: #007bff;}.txtguanggao a:nth-child(3) {background-color: #28a745;}.txtguanggao a:nth-child(4) {background-color: #ffc107;}.txtguanggao a:nth-child(5) {background-color: #28a745;}.txtguanggao a:nth-child(6) {background-color: #ffc107;}.txtguanggao a:nth-child(7) {background-color: #dc3545;}.txtguanggao a:nth-child(8){background-color: #007bff;}.txtguanggao a:hover{background:#FF2805;color:#FFF}@media screen and (max-width: 1000px) {.txtguanggao a{width: 47.96%;float: left;border-radius: 2px;line-height: 35.35px;height: 35.35px;text-align: center;font-size: 14px;color: #fff;display: inline-block;background-color: rgb(255, 153, 159);margin: 2.5px;transition-duration: .3s;}}
  </style>
	<div class="txtguanggao">
		<a href="https://www.baidu.com" target="_blank" rel="nofollow" class="dh">文字广告火爆招租</a> <a href="https://www.360mb.net" target="_blank" rel="nofollow" class="dh">文字广告火爆招租</a> <a href="https://www.360mb.net" target="_blank" rel="nofollow" class="dh">文字广告火爆招租</a> <a href="https://www.360mb.net" target="_blank" rel="nofollow" class="dh">文字广告火爆招租</a> <a href="https://www.360mb.net" target="_blank" rel="nofollow" class="dh">文字广告火爆招租</a> <a href="https://www.360mb.net" target="_blank" rel="nofollow" class="dh">文字广告火爆招租</a> <a href="https://www.360mb.net" target="_blank" rel="nofollow" class="dh">文字广告火爆招租</a> <a href="https://www.360mb.net" target="_blank" rel="nofollow" class="dh">文字广告火爆招租</a> 
	</div>
</div>
<!--文字广告结束-->

 

 

 

© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享