Cards
Cards
Cards are used to display information elevated from the main background.
:choco-info: Reference Bootstrap
Choco-theme respects all Bootstrap Card documentation.
Cards as Links
When a card is used as a link, meaning the whole element should be clickable, then the card will have a transition on hover. A card-link
class is added to the containing element that has the class card
. The stretched-link
class is added to the <a>
tag.
Lorum Ipsum.
Cards with Blur (Glass Effect)
This works best when it is on top of an image. The background of the card is slightly opaque and it will blur the background image. This card is used mostly on the home pages of chocolatey.org as of now.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer in tortor eu nulla fermentum placerat eget nec orci. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
Featured Cards
This card type can be used when it is among other cards and needs to stand out, or when the card has "featured" content on it. A good example of this can be found on the docs home page for the "Highlights" area.
Lorem Ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer in tortor eu nulla fermentum placerat eget nec orci. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.