1first.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.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. <style type="text/css">
  15. .container {
  16. background-color: #fcf8ff;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <div class="container">
  22. <div class="row">
  23. <div class="col-xs-12 col-sm-6 col1">
  24. <h4>Column 1</h4>
  25. </div>
  26. <div class="col-xs-12 col-sm-6 col2">
  27. <h4>Column 2</h4>
  28. </div>
  29. </div>
  30. <div class="row">
  31. <div class="col-xs-12 col-sm-6 col3">
  32. <h4>Column 3</h4>
  33. </div>
  34. <div class="col-xs-12 col-sm-6 col4 col-">
  35. <h4>Column 4</h4>
  36. </div>
  37. </div>
  38. </div>
  39. <!-- https://ajax.googleapis.com/ajax/libs/jquery/1.11.1.jquery.min.js -->
  40. <script src="../js/jquery-1.11.2.min.js"></script>
  41. <script src="../js/bootstrap.js"></script>
  42. </body>
  43. </html>