08labels-buttons.html 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Bootstrap grid system</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. <h3>Jump start Bootstrap: labels
  23. <span class="label label-default">Default</span>
  24. <span class="label label-primary">Primary</span>
  25. <span class="label label-info">Info</span>
  26. <span class="label label-success">Success</span>
  27. <span class="label label-warning">Warning</span>
  28. <span class="label label-danger">Danger</span>
  29. </h3>
  30. <div class="panel">
  31. <div class="panel-heading">
  32. <h3>Jump start Bootstrap: buttons / large</h3>
  33. </div>
  34. <div class="panel-body">
  35. <button type="button" class="btn btn-lg btn-default active">Default active</button>
  36. <button type="button" class="btn btn-lg btn-default">Default</button>
  37. <button type="button" class="btn btn-lg btn-primary">Primary</button>
  38. <button type="button" class="btn btn-lg btn-info">Info</button>
  39. <button type="button" class="btn btn-lg btn-info disabled">Info disabled</button>
  40. <button type="button" class="btn btn-lg btn-success btn-block">Success block</button>
  41. <button type="button" class="btn btn-lg btn-warning">Warning</button>
  42. <button type="button" class="btn btn-lg btn-danger">Danger</button>
  43. </div>
  44. <div class="panel-heading">
  45. <h3>Jump start Bootstrap: buttons / small</h3>
  46. </div>
  47. <div class="panel-body">
  48. <button type="button" class="btn btn-sm btn-default">Default</button>
  49. <button type="button" class="btn btn-sm btn-primary active">Primary active</button>
  50. <button type="button" class="btn btn-sm btn-primary">Primary</button>
  51. <button type="button" class="btn btn-sm btn-info">Info</button>
  52. <button type="button" class="btn btn-sm btn-success">Success</button>
  53. <button type="button" class="btn btn-sm btn-warning btn-block">Warning block</button>
  54. <button type="button" class="btn btn-sm btn-danger">Danger</button>
  55. </div>
  56. <div class="panel-heading">
  57. <h3>Jump start Bootstrap: buttons / extra-small</h3>
  58. </div>
  59. <div class="panel-body">
  60. <button type="button" class="btn btn-xs btn-default">Default</button>
  61. <button type="button" class="btn btn-xs btn-primary">Primary</button>
  62. <button type="button" class="btn btn-xs btn-info active">Info active</button>
  63. <button type="button" class="btn btn-xs btn-info">Info</button>
  64. <button type="button" class="btn btn-xs btn-success">Success</button>
  65. <button type="button" class="btn btn-xs btn-warning">Warning</button>
  66. <button type="button" class="btn btn-xs btn-danger btn-block">Danger block</button>
  67. </div>
  68. </div>
  69. </div>
  70. <!-- https://ajax.googleapis.com/ajax/libs/jquery/1.11.1.jquery.min.js -->
  71. <script src="../js/jquery-1.11.2.min.js"></script>
  72. <script src="../js/bootstrap.js"></script>
  73. </body>
  74. </html>