子比主题美化 – 图片&随机背景文字三栏组合广告位

今天分享一个使用 html+CSS+js 制作的2图片+10文字组合的混合广告位代码,鼠标移动到文字广告时出现随机背景色,移动端未做适配,放在网站适合的位置即可,网站变现利器,不用多说,需要的话自行领取。

效果预览

代码部署

<div class="ercdh">
    <div class="ercdh_1 ">
        <!-- 待写幻灯片 -->
        <div class="sbaner">
            <a href="https://huliku.com/" target="_blank">
                <img src="图片地址" style="width:330px; height:100%;">
            </a>
        </div>
        <div class="sbaner">
            <a href="https://huliku.com/" target="_blank">
                <img src="图片地址" style="width:330px; height:100%;">
            </a>
        </div>
    </div>
    <div class="ercdh_2">
        <!-- 待写标签统计 -->
        <section class="bqct mhs-flex-container">
            <a href="https://huliku.com/" class="random-color">狐狸库</a>
        </section>
        <section class="bqct mhs-flex-container">
            <a href="https://huliku.com/" class="random-color">狐狸库</a>
        </section>
        <section class="bqct mhs-flex-container">
            <a href="https://huliku.com/" class="random-color">狐狸库</a>
        </section>
        <section class="bqct mhs-flex-container">
            <a href="https://huliku.com/" class="random-color">狐狸库</a>
        </section>
        <section class="bqct mhs-flex-container">
            <a href="https://huliku.com/" class="random-color">狐狸库</a>
        </section>
        <section class="bqct mhs-flex-container">
            <a href="https://huliku.com/" class="random-color">狐狸库</a>
        </section>
        <section class="bqct mhs-flex-container">
            <a href="https://huliku.com/" class="random-color">狐狸库</a>
        </section>
        <section class="bqct mhs-flex-container">
            <a href="https://huliku.com/" class="random-color">狐狸库</a>
        </section>
        <section class="bqct mhs-flex-container">
            <a href="https://huliku.com/" class="random-color">狐狸库</a>
        </section>
        <section class="bqct mhs-flex-container">
            <a href="https://huliku.com/" class="random-color">狐狸库</a>
        </section>
    </div>
</div>

温馨提示:本文最后更新于2025/02/24 23:21:54。若文章内容或图片失效,请留言联系站长反馈!
© 版权声明
THE END
点赞1赞赏 分享
评论 共7条

请登录后发表评论

    请登录后查看评论内容