index.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet"
  8. integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
  9. <title>Bootstrap</title>
  10. </head>
  11. <body>
  12. <section class="a">
  13. <div class="container">
  14. <div class="row">
  15. <div class="a1 col-lg-6">A1</div>
  16. <div class="a2 col-lg-6">A2</div>
  17. </div>
  18. </div>
  19. </section>
  20. <section class="b">
  21. <div class="container">
  22. B
  23. </div>
  24. </section>
  25. <section class="c">
  26. <div class="container">
  27. <div class="row">
  28. <div class="c1 col-sm-6 col-lg-4">C1</div>
  29. <div class="c2 col-sm-6 col-lg-4">C2</div>
  30. <div class="c3 col-lg-4">C3</div>
  31. </div>
  32. </div>
  33. </section>
  34. <section class="d">
  35. <div class="container">
  36. <div class="row">
  37. <div class="d1 col-sm-6 col-lg-3">D1</div>
  38. <div class="d2 col-sm-6 col-lg-3">D2</div>
  39. <div class="d3 col-sm-6 col-lg-3">D3</div>
  40. <div class="d4 col-sm-6 col-lg-3">D4</div>
  41. </div>
  42. </div>
  43. </section>
  44. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"
  45. integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa"
  46. crossorigin="anonymous"></script>
  47. </body>
  48. </html>