网站源码分享 | 2020年03月26日15时43分52秒 | 评论:0
<div class="ad"> <!--图片横幅广告--> <a href="http://www.aizhanQQq.com/" target="_blank" rel="nofollow"><img src="图片地址"></a> <!--自适应文字广告--> <li><a href="http://www.aizhanqqq.com/ target=" _blank" style="background:#01AAED;">广告招商虚位以待</a></li> <li><a href="http://www.aizhanqqq.com/ target=" _blank" style="background:#2F4056;">广告招商虚位以待</a></li> </div> <style> /**广告位CSS**/ .ad { background: #fff; overflow: hidden; clear: both; margin: 10px 5px; padding: 8px; border-radius: 6px; } .ad a { margin: 5px; display: block; border-radius: 3px; } .ad img { max-width: 100%; } .ad li { float: left; width: 50%; } .ad li a { height: 60px; line-height: 60px; color: #fff; font-size: 24px; text-align: center; } @media(max-width:999px) { .ad { margin: 0 0 10px 0; } .ad li { width: 100%; } } </style>
相关文章
网友点评
本文暂无评论 - 欢迎您
⎛⎝爱站云⎠⎞
AiZhanCloud.Com