Card
Examples
To display a card, use the class chi-card
.
Base #
Titled #
Add a title to a card by applying the class chi-card__title
.
Center Aligned #
Center align a card by applying the class -align--center
.
Titled with content and icon #
Animate on Hover #
Animate a card on hover by applying the class -hover--animate
.
Hero #
Add a full width image or banner to the top of a card by applying the class chi-card__hero
.
Footer Right Aligned #
Apply the class -align--right
on chi-card__footer
to right align its contents.
Footer Center Aligned #
Apply the class -align--center
on chi-card__footer
to center align its contents.
Header #
Apply the class chi-card__header
to include a header section to the card.
Header Center Aligned #
Apply the class -align--center
on chi-card__header
to center align its contents.
Header No Border #
Apply the class -no-border
on chi-card__header
to remove the default border.
Header Small #
Apply the class -sm
on chi-card__header
to reduce its padding.
Header + Footer #
Further customize cards by adding both headers chi-card__header
and footers chi-card__footer
.
Header Small + Footer Small #
Reduce the size of the header and footer by applying the class -sm
to each element.