Bootstrap: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 14: | Zeile 14: | ||
<div class="collapse" id="collapseBeispiel"> | <div class="collapse" id="collapseBeispiel"> | ||
<div class="well"> | <div class="well"> | ||
jgjg hgg jhgj jgjgjg jjkgjhgjg jhggjhg jgjg | |||
</div> | </div> | ||
</div> | |||
<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false" autocomplete="off"> | |||
Einzelner Schalter | |||
</button> | |||
<div class="btn-toolbar"> | |||
--- Button code goes here inbetween the toolbar divs. --- | |||
</div> | </div> | ||
<span class="glyphicon glyphicon-search" aria-hidden="true"></span> | <span class="glyphicon glyphicon-search" aria-hidden="true"></span> | ||
http://holdirbootstrap.de/javascript/#collapse |
Aktuelle Version vom 6. Juni 2017, 12:25 Uhr
...
...
...
Collapse
<a class="btn btn-primary" role="button" data-toggle="collapse" href="#collapseBeispiel" aria-expanded="false" aria-controls="collapseBeispiel">
Link mit href
</a> <button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseBeispiel" aria-expanded="false" aria-controls="collapseBeispiel">
Button mit data-target
</button>
jgjg hgg jhgj jgjgjg jjkgjhgjg jhggjhg jgjg
<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false" autocomplete="off">
Einzelner Schalter
</button>