Card group – Card group with an image in the header
From Bootstrap - Demo Wiki
Component | ||
---|---|---|
Name | Card group | |
Description | Card group with an image in the header | |
Provider | Skin | |
Reference | getbootstrap.com - card groups | |
Styling | For all possible color styles and corresponding examples, see colors. |
Card group with an image in the header
- Result
Card title
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Card title
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Card title
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">
[[File:SunflowerField.jpg|link=|class=img-fluid]]
<div class="card-body">
<h5 class="card-title">Card title</h5>
<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>
<p class="card-text">
<small class="text-muted">[[Lorem ipsum|Lorem ipsum...]]</small>
</p>
</div>
</div>
<div class="card">
[[File:SunflowerField.jpg|link=|class=img-fluid]]
<div class="card-body">
<h5 class="card-title">Card title</h5>
<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>
<p class="card-text">
<small class="text-muted">[[Lorem ipsum|Lorem ipsum...]]</small>
</p>
</div>
</div>
<div class="card">
[[File:SunflowerField.jpg|link=|class=img-fluid]]
<div class="card-body">
<h5 class="card-title">Card title</h5>
<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>
<p class="card-text">
<small class="text-muted">[[Lorem ipsum|Lorem ipsum...]]</small>
</p>
</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.