精美按钮式广告代码HTML分享

酷爱码
Java领域优质创作者
2025-04-20 10:39:17

源码介绍

精美按钮式广告代码HTML分享,源码由HTML+CSS+JS组成,记事本打开源码文件可以进行内容文字之类的修改,双击html文件可以本地运行效果

效果预览

img

源码获取


<style>
   .link-container {
        display: inline-block;
    }
   .link-container a {
        display: inline-block;
        padding: 2px 6px; /* 修改了这里的 padding 值 */
        margin: 5px 5px;
        text-decoration: none;
        color: white;
        border-radius: 10px;
    }
   .link-container a:nth-child(1) {
        background-color: #8A2BE2;
    }
   .link-container a:nth-child(2) {
        background-color: #9932CC;
    }
   .link-container a:nth-child(3) {
        background-color: #BA55D3;
    }
   .link-container a:nth-child(4) {
        background-color: #9370DB;
    }
   .link-container a:nth-child(5) {
        background-color: #8B008B;
    }
   .link-container a:nth-child(6) {
        background-color: #DA70D6;
    }
   .link-container a:nth-child(7) {
        background-color: #C71585;
    }
</style>
<div class="link-container">
<a href="https://qqmu.com/" target="_blank">DIY封面设计</a> 
<a href="https://qqmu.com/" target="_blank">超级导航</a> 
<a href="https://qqmu.com/links" target="_blank">自助申请友链</a> 
<a href="https://qqmu.com/category/" target="_blank">长尾词导出工具</a> 
<a href="https://qqmu.com/" target="_blank">收录查询</a> 
<a href="https://qqmu.com/" target="_blank">热搜榜</a> 
<a href="https://qqmu.com/" target="_blank">icon免费制作</a>
</div>
...全文
17 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

10

社区成员

发帖
与我相关
我的任务
社区描述
HTML+JS+CSS案例源码免费分享
前端htmlhtml5 个人社区 上海·浦东新区
社区管理员
  • 酷爱码
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧