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>

更新於: 12-Jun-2020

202 次瀏覽

開啟你的 職業生涯

透過完成課程獲得認證

開始
廣告
© . All rights reserved.