Cards
Flexible and extensible content container.
No image
Card title
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Go somewhere<!-- No image -->
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
Alternative card style
Card title
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Go somewhere<!-- Alternative card style: no border + shadow -->
<div class="card border-0 box-shadow">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
Hover effect
Hover over me!
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Go somewhereHover over me!
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Go somewhere<!-- Hover effect on default card -->
<div class="card card-hover">
<div class="card-body">
<h5 class="card-title">Hover over me!</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
<!-- Hover effect on alt style card -->
<div class="card border-0 box-shadow card-hover">
<div class="card-body">
<h5 class="card-title">Hover over me!</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
Image on top

Card title
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Go somewhere<!-- Image on top -->
<div class="card">
<img src="pat-to-image" class="card-img-top" alt="Card image">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
Image on bottom
Card title
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Go somewhere
<!-- Image on bottom -->
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
<img src="pat-to-image" class="card-img-bottom" alt="Card image">
</div>
Horizontal layout
Card title
This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
Go somewhere<!-- Horizontal card layout -->
<div class="card card-horizontal">
<div class="card-img-top" style="background-image: url(pat-to-image);"></div>
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
Text alignment
<!-- Left aligned (default) -->
<div class="card">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
<!-- Center aligned -->
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
<!-- Right aligned -->
<div class="card text-right">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
List group inside card
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
- Cras justo odio
- Dapibus ac facilisis in
- Vestibulum at eros
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
<!-- Simple list group inside card -->
<div class="card">
<div class="card-body">
<h4 class="card-title">Card title</h4>
<p class="card-text font-size-sm text-muted">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">Cras justo odio</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item">Vestibulum at eros</li>
</ul>
<div class="card-body">
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
<!-- Actionable list group inside card -->
<div class="card">
<div class="card-body">
<h4 class="card-title">Card title</h4>
<p class="card-text font-size-sm text-muted">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
<div class="list-group list-group-flush">
<a href="#" class="list-group-item list-group-item-action">Cras justo odio</a>
<a href="#" class="list-group-item list-group-item-action">Dapibus ac facilisis in</a>
<a href="#" class="list-group-item list-group-item-action">Vestibulum at eros</a>
</div>
<div class="card-body">
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
Card styles: Background and color
Primary card title
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Secondary card title
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Success card title
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Danger card title
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Warning card title
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Info card title
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Dark card title
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
Gradient card title
Some quick example text to build on the card title and make up the bulk of the card's content within card's body.
<!-- Primary card -->
<div class="card text-white bg-primary">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title text-white">Primary card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Secondary card -->
<div class="card bg-secondary">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Secondary card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Success card -->
<div class="card text-white bg-success">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title text-white">Success card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Danger card -->
<div class="card text-white bg-danger">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title text-white">Danger card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Warning card -->
<div class="card text-white bg-warning">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title text-white">Warning card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Info card -->
<div class="card text-white bg-info">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title text-white">Info card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Dark card -->
<div class="card text-white bg-dark">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title text-white">Dark card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Gradient card -->
<div class="card text-white bg-gradient">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title text-white">Gradient card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
Card styles: Border and color
Primary card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Secondary card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Success card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Danger card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Warning card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Info card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Dark card title
Some quick example text to build on the card title and make up the bulk of the card's content.
<!-- Primary card -->
<div class="card text-primary border-primary">
<div class="card-header border-primary">Header</div>
<div class="card-body">
<h5 class="card-title text-primary">Primary card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Secondary card -->
<div class="card">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">Secondary card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Success card -->
<div class="card text-success border-success">
<div class="card-header border-success">Header</div>
<div class="card-body">
<h5 class="card-title text-success">Success card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Danger card -->
<div class="card text-danger border-danger">
<div class="card-header border-danger">Header</div>
<div class="card-body">
<h5 class="card-title text-danger">Danger card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Warning card -->
<div class="card text-warning border-warning">
<div class="card-header border-warning">Header</div>
<div class="card-body">
<h5 class="card-title text-warning">Warning card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Info card -->
<div class="card text-info border-info">
<div class="card-header border-info">Header</div>
<div class="card-body">
<h5 class="card-title text-info">Info card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<!-- Dark card -->
<div class="card text-dark border-dark">
<div class="card-header border-dark">Header</div>
<div class="card-body">
<h5 class="card-title">Dark card title</h5>
<p class="card-text font-size-sm">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
Layout: Card group

Card title
This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
Go somewhere
Card title
This card has supporting text below as a natural lead-in to additional content.
Go somewhere
Card title
This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.
Go somewhere<!-- Card group -->
<div class="card-group">
<!-- Card -->
<div class="card">
<img src="pat-to-image" class="card-img-top" alt="Card image">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
<!-- Card -->
<div class="card">
<img src="pat-to-image" class="card-img-top" alt="Card image">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">This card has supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
<!-- Card -->
<div class="card">
<img src="pat-to-image" class="card-img-top" alt="Card image">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
<a href="#" class="btn btn-sm btn-primary">Go somewhere</a>
</div>
</div>
</div>
Layout: Card deck

Card title
This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Card title
This card has supporting text below as a natural lead-in to additional content.

Card title
This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.
<!-- Card deck -->
<div class="card-deck">
<!-- Card -->
<div class="card">
<img src="pat-to-image" class="card-img-top" alt="Card image">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
<div class="card-footer font-size-xs text-muted">Last updated 3 mins ago</div>
</div>
<!-- Card -->
<div class="card">
<img src="pat-to-image" class="card-img-top" alt="Card image">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">This card has supporting text below as a natural lead-in to additional content.</p>
</div>
<div class="card-footer font-size-xs text-muted">Last updated 3 mins ago</div>
</div>
<!-- Card -->
<div class="card">
<img src="pat-to-image" class="card-img-top" alt="Card image">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
</div>
<div class="card-footer font-size-xs text-muted">Last updated 3 mins ago</div>
</div>
</div>
Layout: Card columns

Card title
This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.
Last updated 3 mins agoCard title
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Last updated 3 mins ago
Card title
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins agoLorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Last updated 3 mins ago
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Last updated 3 mins ago<!-- Card columns -->
<div class="card-columns">
<!-- Card -->
<div class="card mb-4">
<img src="pat-to-image" class="card-img-top" alt="Card image">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<span class="text-muted font-size-xs">Last updated 3 mins ago</span>
</div>
</div>
<!-- Card -->
<div class="card mb-4">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<span class="text-muted font-size-xs">Last updated 3 mins ago</span>
</div>
</div>
<!-- Card -->
<div class="card mb-4">
<img src="pat-to-image" class="card-img-top" alt="Card image">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text font-size-sm">This card has supporting text below as a natural lead-in to additional content.</p>
<span class="text-muted font-size-xs">Last updated 3 mins ago</span>
</div>
</div>
<!-- Card -->
<div class="card border border-primary mb-4 text-center">
<div class="card-body">
<p class="card-text font-size-sm">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<span class="text-muted font-size-xs">Last updated 3 mins ago</span>
</div>
</div>
<!-- Card -->
<div class="card mb-4">
<img src="pat-to-image" class="card-img" alt="Card image">
</div>
<!-- Card -->
<div class="card border border-warning mb-4">
<div class="card-body">
<p class="card-text font-size-sm">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<span class="text-muted font-size-xs">Last updated 3 mins ago</span>
</div>
</div>