Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.
For the best experience please use the latest Chrome, Safari or Firefox browser.
B
Andreas Klunker – 27.4.2015
<p class="text-right">rechtsbündiger Text</p>
rechtsbündiger Text
<p class="text-justify">[Trapattoni '98]</p>
Ist klar diese Wörter, ist möglich verstehen, was ich hab gesagt? Danke.
<p class="text-nowrap">[Trapattoni '98]</p>
Ist klar diese Wörter, ist möglich verstehen, was ich hab gesagt? Danke.
Blindtexte von: http://www.blindtextgenerator.de
<code>html</code>
<html>
Anm.: verwendetes Syntax-Highlighting in der Präsentation ist prism.js
<table class="table table-striped">...</table>
# | Vorname | Nachname | Benutzername |
---|---|---|---|
1 | Etta | James | jae12345 |
2 | Hank | Williams | wih54321 |
3 | Frank | Zappa | zaf98765 |
Mouseover: table-hover
, komprimiert: table-condensed
, horizontaler Scroll auf Smartphones: table-responsive
siehe http://getbootstrap.com/css/#tables
<form>
<div class="form-group">
<label for="username1">Benutzername</label>
<input type="text" class="form-control" id="username1"
placeholder="kaa01744">
</div>
<div class="form-group">
<label for="password1">Password</label>
<input type="password" class="form-control" id="password1"
placeholder="geheim">
</div>
<div class="checkbox">
<label>
<input type="checkbox"> Passwort merken
</label>
</div>
<button type="submit" class="btn btn-default">Einloggen</button>
</form>
<a class="btn btn-default" href="#" role="button">Link</a>
<button class="btn btn-default" type="submit">Button</button>
<input class="btn btn-default" type="button" value="Input"/>
<input class="btn btn-default" type="submit" value="Submit"/>
Link
<button class="btn btn-default">
btn-primary
, btn-success
, btn-info
, btn-warning
, btn-danger
, btn-link
<button class="btn btn-default btn-lg">
btn-sm
, btn-xs
<img src="..." class="img-responsive"/>
<img src="..." class="img-rounded"/>
img-rounded | img-circle | img-thumbnail |
Large | Medium | Small | Extra small |
---|---|---|---|
Desktop | Notebook | Tablet | Smartphone |
≥1200px | ≥992px | ≥768px | <768px |
lg | md | sm | xs |
1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
4 | 4 | 4 | |||||||||
4 | 8 | ||||||||||
6 | 6 | ||||||||||
3 | 6 | 3 | |||||||||
12 |
row
haben und von einem Element mit der Klasse container
umschlossen seincol-lg
, col-md
, col-sm
und col-xs
definiert<div class="container">
<div class="row">
<div class="col-sm-6 col-md-3">
[Kunden]
</div>
<div class="col-sm-6 col-md-3">
[Rechnungen]
</div>
<div class="col-sm-6 col-md-3">
[Zahlungen]
</div>
<div class="col-sm-6 col-md-3">
[BKZ]
</div>
</div>
</div>
<div class="container">
vs. <div class="container-fluid">
<div class="col-md-offset-3">
<div class="row">
<div class="col-sm-9">Level 1: .col-sm-9
<div class="row">
<div class="col-xs-8 col-sm-6">Level 2: .col-xs-8 .col-sm-6</div>
<div class="col-xs-4 col-sm-6">Level 2: .col-xs-4 .col-sm-6</div>
</div>
</div>
</div>
Ausführliche Beispiele und Erklärungen zum Grid-System in der Bootstrap-Dokumentation unter: http://getbootstrap.com/css/#grid
<span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span>
Beispiel: Navigation RVK-Rechnungen
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button">
<span class="glyphicon glyphicon-user"></span>
Andreas Klunker
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li role="presentation">
<a role="menuitem" tabindex="-1" href="#">Einstellungen</a>
</li>
<li role="presentation">...Hilfe...</li>
</ul>
</div>
<div class="btn-group btn-group-lg" role="group" aria-label="...">
<button type="button" class="btn btn-success">Ja</button>
<button type="button" class="btn btn-default">Egal</button>
<button type="button" class="btn btn-danger">Nein</button>
</div>
<ul class="nav nav-tabs">
<li role="presentation" class="active">
<a href="#">Startseite</a>
</li>
<li role="presentation">
<a href="#">Forschung</a>
</li>
<li role="presentation">
<a href="#">Studium</a>
</li>
</ul>
<ul class="nav nav-pills">
<li role="presentation" class="active"><a href="#">Startseite</a></li>
<li role="presentation"><a href="#">Forschung</a></li>
<li role="presentation"><a href="#">Studium</a></li>
</ul>
Beispiel: Navigation RVK-Rechnungen
<a href="#">Posteingang <span class="badge">42</span></a>
<div class="progress">
<div style="width: 60%;" aria-valuemax="100"
aria-valuemin="0" aria-valuenow="60"
role="progressbar" class="progress-bar">
60%
</div>
</div>
Beispiel: Navigation RVK-Rechnungen
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Titel</h3>
</div>
<div class="panel-body">
Inhalt
</div>
</div>
<div class="well well-sm">...</div>
Mehr zu den Plugins unter http://getbootstrap.com/javascript.
<!doctype html>
<html lang="de">
<head>
...
<link href="bootstrap.css" rel="stylesheet" />
</head>
<body>
...
[<script src="jquery.js"></script>]
<script src="bootstrap.js"></script>
</body>
</html>