2blog.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>My first Bootstrap website</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="col-md-12 text-center">
  23. <h1>My first Bootstrap blog</h1>
  24. </div>
  25. <hr />
  26. <div class="row">
  27. <div class="col-sm-6 col-md-4 col-lg-3">
  28. <h3>Post Title 1</h3>
  29. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  30. tempor incididunt ut labore et dolore magna aliqua. </p>
  31. </div>
  32. <div class="col-sm-6 col-md-4 col-lg-3">
  33. <h3>Post Title 2</h3>
  34. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  35. tempor incididunt ut labore et dolore magna aliqua. </p>
  36. </div>
  37. <div class="col-sm-6 col-md-4 col-lg-3">
  38. <h3>Post Title 3</h3>
  39. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  40. tempor incididunt ut labore et dolore magna aliqua. </p>
  41. </div>
  42. <div class="col-sm-6 col-md-4 col-lg-3">
  43. <h3>Post Title 4</h3>
  44. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  45. tempor incididunt ut labore et dolore magna aliqua. </p>
  46. </div>
  47. <div class="col-sm-6 col-md-4 col-lg-3">
  48. <h3>Post Title 5</h3>
  49. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  50. tempor incididunt ut labore et dolore magna aliqua. </p>
  51. </div>
  52. <div class="col-sm-6 col-md-4 col-lg-3">
  53. <h3>Post Title 6</h3>
  54. <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
  55. tempor incididunt ut labore et dolore magna aliqua. </p>
  56. </div>
  57. </div>
  58. </div>
  59. <!-- https://ajax.googleapis.com/ajax/libs/jquery/1.11.1.jquery.min.js -->
  60. <script src="../js/jquery-1.11.2.min.js"></script>
  61. <script src="../js/bootstrap.js"></script>
  62. </body>
  63. </html>