Cards
Bootstrap's cards provide a flexible and extensible content container with multiple variants and options.
Each card has at least the card_title
and card_text
variables in use and will have a card like this one above it explaining the other variables it is using. Also, each row is demonstrating a different feature of the bootstrap grid system.
Text
card_subtitle, text_alignment, card_link, card_link_text, text_color, card_flush
Grid: This row is using the standard hand-coded class="col-sm"
bootstrap system
Card Title
Card subtitle
Card Title
Card subtitle
Card Title
source/_patterns/01-atoms/grid
Card Title
Card subtitle
Card Title
Card subtitle
Card Title
Width
card_width
Grid: This row is occupying the whole container by using the col-sm-12
class.
Card Title
Card Title
Card Title
Image
card_image, card_image_location, card_image_overlay
Grid: This row is using the card-deck
class which is unique to cards. It sets all of its cards to an equal width and height.
Card Title
Card Title
Structure
card_header, card_footer, button_text, button_color, card_list
Grid: This row is using the card-group
class which is unique to cards. It renders cards as a single, attached element with equal width and height columns.
Card Title
Card Title
Card Title
- Cras justo odio
- Dapibus ac facilisis in
- Vestibulum at eros
Background and Border
card_background, card_border
Grid: This row is using the card-columns
class which is unique to cards. It renders cards in the optimal position based on vertical space.
Card Title
Card Title
Card Title
Card Title
Card Title
Card Title
Card Title
Card Title
Variation
First Title
Second Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sit amet facilisis erat. Suspendisse ultrices sed massa a faucibus.