04listgroup.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Bootstrap list groups</title>
  5. <meta charset="utf-8"/>
  6. <meta http-equiv="X-UA-COMPATIBLE" content="IE=Edge"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <link rel="stylesheet" href="../css/bootstrap.min.css"/>
  9. <link rel="stylesheet" href="styles.css" />
  10. <!--[if lt IE 9]>
  11. <script src="../js/html5shiv.3-7-0.js"></script>
  12. <script src="../js/respond.1-4-2.min.js"></script>
  13. <![endif]-->
  14. </head>
  15. <body>
  16. <div class="container">
  17. <div class="page-header">
  18. <h1>Chapter 3
  19. <small>Exploring Bootstrap components</small>
  20. </h1>
  21. </div>
  22. <ul class="list-group">
  23. <li class="list-group-item">Plain item<span class="badge">1</span></li>
  24. <li class="list-group-item list-group-item-success">Success<span class="badge">2</span></li>
  25. <li class="list-group-item list-group-item-info">Info<span class="badge">4</span></li>
  26. <li class="list-group-item list-group-item-warning">Warning<span class="badge">8</span></li>
  27. <li class="list-group-item list-group-item-danger">Danger<span class="badge">16</span></li>
  28. </ul>
  29. <div class="list-group">
  30. <a href="#" class="list-group-item">
  31. <span class="badge">32</span>
  32. <h4 class="list-group-item-heading">Heading</h4>
  33. <span class="badge">64</span>
  34. <p class="list-group-item-text">Lorem ipsum sic amet, consectetur...</p>
  35. </a>
  36. </div>
  37. <ul class="list-group">
  38. <li class="list-group-item">Plain item<span class="badge">128</span></li>
  39. <li class="list-group-item active">Plain item<span class="badge">256</span></li>
  40. <li class="list-group-item">Plain item<span class="badge">512</span></li>
  41. <li class="list-group-item">Plain item<span class="badge">1024</span></li>
  42. </ul>
  43. </div>
  44. <!-- https://ajax.googleapis.com/ajax/libs/jquery/1.11.1.jquery.min.js -->
  45. <script src="../js/jquery-1.11.2.min.js"></script>
  46. <script src="../js/bootstrap.js"></script>
  47. </body>
  48. </html>