Card
css class | description |
---|---|
card | Defines a card. |
card-header | Specifies a header section of card. It can be <div> with content or single element such <h5>. |
card-body | Specifies a body section of card. |
card-title | Specifies a title of card inside the body section. |
card-text | Specifies the text for the card. Usually applied to the <p> element. |
card-img-top | Specifies an image cap, that can be placed on the top or bottom of card. |
card-img | Turns an image into a card background. Used in conjuction with the card-img-overlay class. |
card-img-overlay | Allows to overlay content on image (example). |
card-link | Specifies link inside card. |
card-footer | Specifies a footer section of card. |
Code example
Header
My title
Some quick example text to build on the card title and make up the bulk of the card's content.
Last updated 3 mins ago
card with image overlays
Code example
horizontal card with
In following example card has horizontal orientation on medium screens and higher. On small screen card has vertical orientation.
Code example
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 ago