Layout von Websiten mit Bootstrap und Foundation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>Complete Bootstrap 4 Website Layout</title>
  7. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
  8. <script src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
  9. <link href="style.css" rel="stylesheet">
  10. </head>
  11. <!-- Navbar -->
  12. <nav class="navbar navbar-expand-sm navbar-light">
  13. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  14. <span class="navbar-toggler-icon"></span>
  15. </button>
  16. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  17. <ul class="navbar-nav mr-auto">
  18. <li class="nav-item active">
  19. <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
  20. </li>
  21. <li class="nav-item">
  22. <a class="nav-link" href="#">Link</a>
  23. </li>
  24. <li class="nav-item dropdown">
  25. <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  26. Dropdown
  27. </a>
  28. <div class="dropdown-menu" aria-labelledby="navbarDropdown">
  29. <a class="dropdown-item" href="#">Action</a>
  30. <a class="dropdown-item" href="#">Another action</a>
  31. <div class="dropdown-divider"></div>
  32. <a class="dropdown-item" href="#">Something else here</a>
  33. </div>
  34. </li>
  35. <li class="nav-item">
  36. <a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>
  37. </li>
  38. </ul>
  39. <form class="form-inline my-2 my-lg-0">
  40. <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
  41. <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
  42. </form>
  43. </div>
  44. </nav>
  45. <!-- content -->
  46. <body>
  47. <div class="container-fluid">
  48. <div class="row">
  49. <div class="col-sm-8">
  50. hello world
  51. </div>
  52. <div class="col-sm-4">
  53. <button type="button" class="btn btn-">Primary</button>
  54. </div>
  55. </div>
  56. </div>
  57. <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
  58. <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
  59. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
  60. </body>
  61. </html>