zoukankan      html  css  js  c++  java
  • 页面底部悬浮广告或关注公众号代码

    代码如下

    <style>
    .margingT {
    margin-bottom: 60px;
    }

    .bottomAD {
    -webkit-box-sizing: border-box;
    height: 80px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    padding: 0 10px;
    overflow: hidden;
    100%;
    background: rgba(0, 0, 0, .8);
    }

    .bottom-pic {
    position: absolute;
    top: 10px;
    60px;
    height: 60px;
    overflow: hidden;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    }

    .bottom-pic img {
    100%;
    height: 100%;
    }

    .bottom-text {
    margin-left: 70px;
    line-height: 80px;
    font-size: 16px;
    color: #fff;
    }

    .bottom-btn {
    position: absolute;
    top: 20px;
    right: 10px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    background-color: #60b900;
    border-radius: 6px;
    text-align: center;
    font-size: 16px;
    padding: 0 5px;
    font-weight: bold;
    }

    .bottomAD a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    }

    </style>
    <div class="bottomAD" id="bottomAD">

    <div class="bottom-con">
    <div class="bottom-pic">
    <img src="http://pic.kuaizhan.com/g1/M01/71/9C/wKjmqVbSY2GAWNvZAABPOdnuH1Q1142811" width="60" height="60" alt="">
    </div>
    <div class="bottom-text" id="bottomText">"爱分享只分享值得的</div>
    <div class="bottom-btn">立即关注</div>
    </div>
    <a id="bottomLink" href=" http://zygxsq.kuaizhan.com"></a>
    </div>



  • 相关阅读:
    linux中read用法
    apt-get 使用指南
    linux文件系统
    KMP
    在C#中的各种应用
    A*算法,遗传算法
    Dijkstra算法,Floyd算法
    AE开发tips
    TOC 右键菜单
    ubuntu下的一些意外
  • 原文地址:https://www.cnblogs.com/jalenFish/p/14099115.html
Copyright © 2011-2022 走看看