Bootstrap 列表組類


列表組類的目的是呈現列表中的複雜而定製的內容。

你可以嘗試執行以下程式碼在 Bootstrap 中實現列表組類 −

示例

即時演示

<!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>Tutorials</h2>
      <p>The following are the tutorials:</p>
      <ul class = "list-group">
         <li class = "list-group-item">HTML5</li>
         <li class = "list-group-item">JavaScript</li>
         <li class = "list-group-item">jQuery</li>
      </ul>
   </body>
</html>

更新於: 12-6 月-2020

342 次瀏覽量

開啟您的職業生涯

完成課程獲得認證

開始學習
廣告
© . All rights reserved.