Last active
April 24, 2020 14:46
-
-
Save BMU-Verlag/bf25547c29cc8f61b5c68db4e185c099 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="de"> | |
<head> | |
<title>Bootstrap-Beispiel</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script> | |
</head> | |
<body> | |
<nav class="navbar bg-dark navbar-expand-md"> | |
<button class="navbar-toggler navbar-dark" type="button" data-toggle="collapse" data-target="#navigation"> | |
<span class="navbar-toggler-icon"></span> | |
</button> | |
<div class="collapse navbar-collapse" id="navigation"> | |
<ul class="navbar-nav"> | |
<li class="nav-item"> | |
<a class="nav-link" href="#">Home</a> | |
</li> | |
<li class="nav-item"> | |
<a class="nav-link" href="#">Seite 1</a> | |
</li> | |
<li class="nav-item"> | |
<a class="nav-link" href="#">Seite 2</a> | |
</li> | |
</ul> | |
</div> | |
</nav> | |
<div class="jumbotron text-center"> | |
<h1>Beispiel-Seite für Bootstrap</h1> | |
</div> | |
<div class="container row"> | |
<div class="col-sm-12 col-md-12 col-lg-6"> | |
<h3>Spalte 1</h3> | |
<p>Hier steht der wesentliche Text der Webseite. Diesen erstellen wir jedoch erst später.</p> | |
<p>Der Text kann mehrere Absätze enthalten</p> | |
</div> | |
<div class="col-sm-12 col-md-6 col-lg-3"> | |
<h3>Spalte 2</h3> | |
<p>Auch hier steht ein Text. Später fügen wir noch ein Bild hinzu.</p> | |
<img src="bild.jpg" class="rounded-circle" width="100%"> | |
</div> | |
<div class="col-sm-12 col-md-6 col-lg-3"> | |
<h3>Spalte 3</h3> | |
<p>In diesem Abschnitt soll später auf den Text ein Button mit einem Link folgen.</p> | |
<a href="#" class="btn btn-info" role="button">Button mit Link</a> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment