Bootstrap 分页-sm 类


使用 Bootstrap 的 pagination-lg 类为分页项目设置较小的尺寸。你可以尝试运行以下代码在 Bootstrap 中实现 pagination-sm 类

示例

实际演示

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <h2>Coding Examples</h2>
      The following are the examples:
      <ul class = "pagination pagination-sm">
         <li><a href = "#">&amp;laquo;</a></li>
         <li><a href = "#">Code1</a></li>
         <li><a href = "#">Code2</a></li>
         <li><a href = "#">Code3</a></li>
         <li><a href = "#">Code4</a></li>
         <li><a href = "#">Code5</a></li>
         <li><a href = "#">&amp;raquo;</a></li>
      </ul>
   </body>
</html>

更新日期:2020 年 6 月 12 日

202 个浏览量

开启你的职业生涯

完成课程获得认证

开始学习
广告