Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Phasellus nec iaculis mauris. @bulmaio.
#css #responsive
--- title: Card layout: documentation doc-tab: components doc-subtab: card --- {% capture card_example %}
John Smith
@johnsmith
Component
“There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.”
Jeff Atwood
The card component comprises several elements that you can mix and match:
card
: the main container
card-header
: a horizontal bar with a shadow
card-header-title
: a left-aligned bold text
card-header-icon
: a placeholder for an icon
card-image
: a fullwidth container for a responsive image
card-content
: a multi-purpose container for any other element
card-footer
: a horizontal list of controls
card-footer-item
: a repeatable list item
You can center the card-header-title
by appending the is-centered
modifier.