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 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
  8. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  9. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
  10. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
  11. <script src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
  12. <link href="style.css" rel="stylesheet">
  13. </head>
  14. <body>
  15. <!-- Navigation -->
  16. <nav class="navbar navbar-expand-md navbar-light bg-light sticky-top">
  17. <div class="container-fluid">
  18. <a class="navbar-brand" href="#"><img src="img/logo.png"></a>
  19. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive">
  20. <!-- id is referenced in div for the navbar itself -->
  21. <span class="navbar-toggler-icon"></span>
  22. </button>
  23. <div class="collapse navbar-collapse" id="navbarResponsive">
  24. <!-- ml-auto for right hand alignment of the navbar -->
  25. <ul class="navbar-nav ml-auto">
  26. <li class="nav-item active">
  27. <!-- The active class highlights the link -->
  28. <a class="nav-link" href="#">Home</a>
  29. </li>
  30. <li class="nav-item">
  31. <a class="nav-link" href="#">About</a>
  32. </li>
  33. <li class="nav-item">
  34. <a class="nav-link" href="#">Services</a>
  35. </li>
  36. <li class="nav-item">
  37. <a class="nav-link" href="#">Team</a>
  38. </li>
  39. <li class="nav-item">
  40. <a class="nav-link" href="#">Contact</a>
  41. </li>
  42. </ul>
  43. </div>
  44. </div>
  45. </nav>
  46. <!--- Image Slider -->
  47. <!-- see https://www.w3schools.com/bootstrap/bootstrap_carousel.asp for explanation
  48. in brief: carousel for rotating images
  49. slide for slide effect
  50. data-ride -> animation starts imdiatly
  51. id is necessary to be referenced-->
  52. <div id="slides" class="carousel slide" data-ride="carousel">
  53. <ul class="carousel-indicators">
  54. <!-- data-target references to the element that gets changed in this case the slider
  55. data-slide-to: next slide-->
  56. <li data-target="#slides" data-slide-to="0" class="active"></li>
  57. <li data-target="#slides" data-slide-to="1"></li>
  58. <li data-target="#slides" data-slide-to="2"></li>
  59. </ul>
  60. <div class="carousel-inner">
  61. <div class="carousel-item active">
  62. <img src="img/background.png">
  63. <div class="carousel-caption">
  64. <h1 class="display-2">Bootstrap</h1>
  65. <h3>Complete website Layout</h3>
  66. <button type="button" class="btn btn-outline-light btn-lg">VIEW DEMO</button>
  67. <button type="button" class="btn btn-primary btn-lg">Get Started</button>
  68. </div>
  69. </div>
  70. <div class="carousel-item">
  71. <img src="img/background2.png">
  72. </div>
  73. <div class="carousel-item">
  74. <img src="img/background3.png">
  75. </div>
  76. </div>
  77. </div>
  78. <!--- Jumbotron -->
  79. <div class="container-fluid">
  80. <div class="row jumbotron">
  81. <!-- how many columns at which width -->
  82. <div class="col-xs-12 cl-sm-12 col-md-9 col-lg-9 col-xl-10">
  83. <!-- class lead for lightweight -->
  84. <p class="lead">Lorem ipsum dolor sit amet, consetetur
  85. sadipscing elitr, sed diam nonumy eirmod tempor
  86. invidunt ut labore et dolore magna aliquyam erat, sed
  87. diam voluptua. At vero eos et accusam et justo duo
  88. dolores et ea rebum. Stet clita kasd gubergren, no sea
  89. takimata sanctus est Lorem ipsum dolor sit amet. </p>
  90. </div>
  91. <div class="col-xs-12 cl-sm-12 col-md-3 col-lg-3 col-xl-2">
  92. <a href="#"><button class="btn btn-outline-secondary btn-lg">Web Hosting</button></a>
  93. </div>
  94. </div>
  95. </div>
  96. <!--- Welcome Section -->
  97. <div class="container-fluid padding">
  98. <div class="row welcome text-center">
  99. <div class="col-12">
  100. <h1 class="display-4">Built with ease</h1>
  101. </div>
  102. <hr>
  103. <div class="col-12">
  104. <p class="lead"> Lorem ipsum dolor sit amet, consetetur
  105. sadipscing elitr, sed diam nonumy eirmod tempor
  106. invidunt ut labore et dolore magna aliquyam erat, sed
  107. diam voluptua.</p>
  108. </div>
  109. </div>
  110. </div>
  111. <!--- Three Column Section -->
  112. <div class="container-fluid padding">
  113. <div class="row text-center padding">
  114. <div class="col-xs-12 col-sm-6 col-md-4">
  115. <i class="fas fa-code"></i>
  116. <h3>HTML5</h3>
  117. <p>Built with HTML5</p>
  118. </div>
  119. <div class="col-xs-12 col-sm-6 col-md-4">
  120. <i class="fas fa-bookmark"></i>
  121. <h3>BOOTSRAP</h3>
  122. <p>Built with Bootstrap 4</p>
  123. </div>
  124. <div class="col-sm-12 col-md-4">
  125. <i class="fab fa-css3"></i>
  126. <h3>CSS3</h3>
  127. <p>Built with CSS3</p>
  128. </div>
  129. </div>
  130. <hr class="my-4">
  131. </div>
  132. <!--- Two Column Section -->
  133. <div class="container-fluid">
  134. <div class="row padding">
  135. <div class="col-md-12 col-lg-6">
  136. <h2>If you build it...</h2>
  137. <p>Lorem ipsum dolor sit amet, consetetur
  138. sadipscing elitr, sed diam nonumy eirmod tempor
  139. invidunt ut labore et dolore magna aliquyam erat, sed
  140. diam voluptua.</p>
  141. <p>Lorem ipsum dolor sit amet, consetetur
  142. sadipscing elitr, sed diam nonumy eirmod tempor
  143. invidunt ut labore et dolore magna aliquyam erat, sed
  144. diam voluptua.</p>
  145. <p>Lorem ipsum dolor sit amet, consetetur
  146. sadipscing elitr, sed diam nonumy eirmod tempor
  147. invidunt ut labore et dolore magna aliquyam erat, sed
  148. diam voluptua.</p>
  149. <br>
  150. <a href="#" class="btn btn-primary">Learn More</a>
  151. </div>
  152. <div class="col-lg-6">
  153. <img src="img/desk.png" class="img-fluid">
  154. </div>
  155. </div>
  156. </div>
  157. <hr class="my-4">
  158. <!--- Fixed background -->
  159. <figure>
  160. <div class="fixed-wrap">
  161. <div id="fixed"></div>
  162. </div>
  163. </figure>
  164. <!--- Emoji Section -->
  165. <button class="fun" data-toggle="collapse" data-target="#emoji">Click for fun</button>
  166. <div id ="emoji" class="collapse">
  167. <div class="container-fluid padding">
  168. <div class="row text-center">
  169. <div class="col-sm-6 col-md-3">
  170. <img class="gif" src="img/gif/panda.gif">
  171. </div>
  172. <div class="col-sm-6 col-md-3">
  173. <img class="gif" src="img/gif/poo.gif">
  174. </div>
  175. <div class="col-sm-6 col-md-3">
  176. <img class="gif" src="img/gif/unicorn.gif">
  177. </div>
  178. <div class="col-sm-6 col-md-3">
  179. <img class="gif" src="img/gif/chicken.gif">
  180. </div>
  181. </div>
  182. </div>
  183. </div>
  184. <!--- Meet the team -->
  185. <div class="container-fluid padding">
  186. <div class="row welcome text-center">
  187. <div class="col-12">
  188. <h1 class="display-4">Meet the Team</h1>
  189. <hr>
  190. </div>
  191. </div>
  192. </div>
  193. <!--- Cards -->
  194. <div class="container-fluid padding">
  195. <div class="row padding">
  196. <div class="col-md-4">
  197. <div class="card">
  198. <img class="card-img-top" src="img/team1.png">
  199. <div class="card-body">
  200. <h4 class="card-title">John Doe</h4>
  201. <p class="card-text">Lorem ipsum dolor sit amet, consetetur
  202. sadipscing elitr. </p>
  203. <a href="#" class="btn btn-outline-secondary">See Profile</a>
  204. </div>
  205. </div>
  206. </div>
  207. <div class="col-md-4">
  208. <div class="card">
  209. <img class="card-img-top" src="img/team2.png">
  210. <div class="card-body">
  211. <h4 class="card-title">Mary Jo</h4>
  212. <p class="card-text">Lorem ipsum dolor sit amet, consetetur
  213. sadipscing elitr. </p>
  214. <a href="#" class="btn btn-outline-secondary">See Profile</a>
  215. </div>
  216. </div>
  217. </div>
  218. <div class="col-md-4">
  219. <div class="card">
  220. <img class="card-img-top" src="img/team3.png">
  221. <div class="card-body">
  222. <h4 class="card-title">Phil Ho</h4>
  223. <p class="card-text">Lorem ipsum dolor sit amet, consetetur
  224. sadipscing elitr. </p>
  225. <a href="#" class="btn btn-outline-secondary">See Profile</a>
  226. </div>
  227. </div>
  228. </div>
  229. </div>
  230. </div>
  231. <!--- Two Column Section -->
  232. <div class="container-fluid">
  233. <div class="row padding">
  234. <div class="col-md-12 col-lg-6">
  235. <h2>Our philosophy</h2>
  236. <p>Lorem ipsum dolor sit amet, consetetur
  237. sadipscing elitr, sed diam nonumy eirmod tempor
  238. invidunt ut labore et dolore magna aliquyam erat, sed
  239. diam voluptua.</p>
  240. <p>Lorem ipsum dolor sit amet, consetetur
  241. sadipscing elitr, sed diam nonumy eirmod tempor
  242. invidunt ut labore et dolore magna aliquyam erat, sed
  243. diam voluptua. Lorem ipsum dolor sit amet, consetetur
  244. sadipscing elitr, sed diam nonumy eirmod tempor
  245. invidunt ut labore et dolore magna aliquyam erat, sed
  246. diam voluptua.</p>
  247. </div>
  248. <div class="col-lg-6">
  249. <img src="img/bootstrap2.png" class="img-fluid">
  250. </div>
  251. </div>
  252. <hr class="my-4">
  253. </div>
  254. <!--- Connect -->
  255. <div class="container-fluid padding">
  256. <div class="row text-center padding">
  257. <div class="col-12">
  258. <h2>Connect</h2>
  259. </div>
  260. <div class="col-12 social padding">
  261. <a href="#"><i class="fab fa-facebook"></i></a>
  262. <a href="#"><i class="fab fa-twitter"></i></a>
  263. <a href="#"><i class="fab fa-google-plus-g"></i></a>
  264. <a href="#"><i class="fab fa-instagram"></i></a>
  265. <a href="#"><i class="fab fa-youtube"></i></a>
  266. </div>
  267. </div>
  268. </div>
  269. <!--- Footer -->
  270. <footer>
  271. <div class="container-fluid padding">
  272. <div class="row text-center">
  273. <div class="col-md-4">
  274. <img src="img/w3newbie.png">
  275. <hr class="light">
  276. <p>0160 45 72 775 </p>
  277. <p>mail@example.com</p>
  278. <p>Hauptstraße 32</p>
  279. <p>30916 Isernhagen</p>
  280. </div>
  281. <div class="col-md-4">
  282. <hr class="light">
  283. <h5>Our hours</h5>
  284. <hr class="light">
  285. <p>Monday: 9am - 6pm</p>
  286. <p>Saturday: 10am - 3pm </p>
  287. <p>Sunday: closed </p>
  288. </div>
  289. <div class="col-md-4">
  290. <hr class="light">
  291. <h5>Service Area</h5>
  292. <p>12345, Musterhausen</p>
  293. <p>12345, Musterhausen</p>
  294. <p>12345, Musterhausen</p>
  295. <p>12345, Musterhausen</p>
  296. </div>
  297. <div class="col-12">
  298. <hr class="light-100">
  299. <h5>&copy; thilo-wendt.de</h5>
  300. </div>
  301. </div>
  302. </div>
  303. </footer>
  304. </body>
  305. </html>
  306. <!--- Check out my courses! -->