zoukankan      html  css  js  c++  java
  • footer nav 手机 底部 导航 菜单 bootstrap 微信

    <footer class="am-menu am-cf">
        <div class="am-menu-column index" id="index">
          <a href="{:url('aim/lists')}">
            <span>首页</span>
          </a>
        </div>
        <div class="am-menu-column explore" id="explore">
          <a href="https://open.weixin.qq.com/connect/oauth2/authorize">
            <span>申请</span>
          </a>
        </div>
        <div class="am-menu-column life" id="life">
          <a href="{:url('aim/lists')}">
            <span>发现</span>
          </a>
        </div>
        <div class="am-menu-column my" id="my">
          <a href="https://open.weixin.qq.com/connect/oauth2/authorize">
            <span>我的</span>
          </a>
        </div>
    </footer>

    需要引入下面的css

    .am-menu {
      position: fixed;
      bottom: 0;
      width: 100%;
      background: #efefef;
      text-align: center;
      height: 54px;
      overflow: hidden;
      z-index: 98;
      border-top: 1px solid #ddd;
    }
    
    .am-menu-column {
      width: 25%;
      float: left;
      font-size:16px;
      margin-top:15px;
    }
    
    /*new footer*/
    /*因为都是用的字体图标可能显示不出来,但是字体颜色会有变化*/
    .index i:before {
      content: "e602";
      color: #999;
    }
    .explore i:before {
      content: "e607";
      color: #999;
    }
    .life i:before {
      content: "e600";
      color: #999;
    }
    .my i:before {
      content: "e605";
      color: #999;
    }
    .index-active i:after {
      content: "e603";
      color: #32B5E5;
    }
    .explore-active i:after {
      content: "e608";
      color: #32B5E5;
    }
    .life-active i:after {
      content: "e601";
      color: #32B5E5;
    }
    .my-active i:after {
      content: "e606";
      color: #32B5E5;
    }
    
    
    .index a span,
    .explore a span,
    .life a span,
    .my a span {
      display: block;
      color: #999;
    }
    
    .index-active a span,
    .explore-active a span,
    .life-active a span,
    .my-active a span {
      display: block;
      color: #32b4e5;
    }
    
    body {
      padding-top: 15px;
    }
    .container {
        margin-bottom:55px;
    }
  • 相关阅读:
    oracle 用户密码过期
    求字符串的长度
    oracle 行列装置
    SQL Server 2005参考:PIVOT
    SOAP 入门
    SQL Server 2005参考:数据汇总
    Silverlight 参考: 几何图形 MSDN
    jQuery参考:jquery中的$(document).ready()与window.onload的区别
    Silverlight开源项目与第三方控件收集
    Silverlight 项目开发准则参考
  • 原文地址:https://www.cnblogs.com/shaoing/p/7761206.html
Copyright © 2011-2022 走看看