Cards

A card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options.


Basic example

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Go somewhere

Content types

Blocks

The building block of a card is the .card-block. Use it whenever you need a padded section within a card.

Titles, text, and links

Card titles are used by adding .card-title to a <h*> tag. In the same way, links are added and placed next to each other by adding .card-link to a <a> tag.

Subtitles are used by adding a .card-subtitle to a <h*> tag.

With .card-text, text can be added to the card.

Images

.card-img-top places an image to the top of the card.

.card-img-bottom places an image to the bottom of the card.

List groups

Create lists of content in a card with a ul.list-group.list-group-flush.

Card title

Card subtitle

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

Header and Footer

Card headers can be styled by either adding .card-header to <h*> elements or wrapping text in a div.card-header.

Featured

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere

Navigation

Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere

Image overlays

Card image

This is a 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. And we're only using it for testing purposes.

Last updated 3 mins ago


Card styles

Cards include various options for customizing their backgrounds, borders, and color.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.


Outline cards

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.

Special title treatment

With supporting text below as a natural lead-in to additional content.


Card columns

Card image cap

Card title that wraps to a new line

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

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title

Card title

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

Last updated 3 mins ago

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat.

Someone famous in Source Title

Card title

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

Last updated 3 mins ago

Card image

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title

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.

Last updated 3 mins ago