zoukankan      html  css  js  c++  java
  • 分页bootstrap

    <!DOCTYPE html>
    <html lang="zh-cn">
      <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Bootstrap 101 Template</title>
    
        <!-- Bootstrap -->
        <link href="css/bootstrap.min.css" rel="stylesheet">
      </head>
      <body>
        <nav>
      <!-- 默认分页 -->
        <!-- 禁用.disabled 和激状态.active 和尺寸加 pagination-lg -->
          <ul class="pagination pagination-lg">
            <li class="disabled"><a href="#">&laquo;</a></li>
            <li class="active"><a href="http://www.baidu.com" target="_banlk">1</a></li>
            <li><a href="http://www.taobao.com">2</a></li>
            <li><a href="#">3</a></li>
            <li><a href="#">4</a></li>
            <li><a href="#">5</a></li>
            <li><a href="#">&raquo;</a></li>
          </ul>
        <!-- 翻页链接居中对齐 -->
          <ul class="pager">
            <li><a href="#">下一页</a></li>
            <li><a href="#">上一页</a></li>
          </ul>
        <!-- 翻页链接左右对齐 -->
          <ul class="pager">
            <li class="previous"><a href="#">下一页</a></li>
            <li class="next"><a href="#">上一页</a></li>
          </ul>
        </nav>
    <br>
        <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
        <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
        <!-- Include all compiled plugins (below), or include individual files as needed -->
        <script src="js/bootstrap.min.js"></script>
      </body>
    </html>
  • 相关阅读:
    js String对象中常用方法小结(字符串操作)
    利用react来制作评论框
    js中面向对象
    Linux下GCC相关知识点
    函数指针和回调函数
    安装成功的nginx如何添加未编译安装模块
    【转载】Redis与Memcached的区别
    Redis杂记
    【转载】MySQL索引原理及慢查询优化
    MySQL 5.7 虚拟列 (virtual columns)
  • 原文地址:https://www.cnblogs.com/xiaoyumi666/p/6082674.html
Copyright © 2011-2022 走看看