Card group – Card group with a header and a footer
From Bootstrap - Demo Wiki
Component | ||
---|---|---|
Name | Card group | |
Description | Card group with a header and a footer | |
Provider | Skin | |
Reference | getbootstrap.com - card groups | |
Styling | For all possible color styles and corresponding examples, see colors. |
Card group with a header
- Result
Lorem ipsum
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Lorem ipsum
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Lorem ipsum
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
- Code
<div class="card-group">
<div class="card">
<div class="card-header">
<big>'''Lorem ipsum'''</big>
</div>
<div class="card-body">
<p class="card-text">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
</p>
</div>
<div class="card-footer">
<small class="text-muted">[[Lorem ipsum|Lorem ipsum...]]</small>
</div>
</div>
<div class="card">
<div class="card-header">
<big>'''Lorem ipsum'''</big>
</div>
<div class="card-body">
<p class="card-text">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
</p>
</div>
<div class="card-footer">
<small class="text-muted">[[Lorem ipsum|Lorem ipsum...]]</small>
</div>
</div>
<div class="card">
<div class="card-header">
<big>'''Lorem ipsum'''</big>
</div>
<div class="card-body">
<p class="card-text">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
</p>
</div>
<div class="card-footer">
<small class="text-muted">[[Lorem ipsum|Lorem ipsum...]]</small>
</div>
</div>
</div>
</div>
If you add more than three cards you will need to hide the table of contents automatically generated by MediaWiki by also adding the behaviour switch
__NOTOC__
to the page.