Cards require a small amount of markup and classes to provide you with as much control as possible. These classes and markup are flexible though and can typically be remixed and extended with ease. For example, if your card has no flush content like images, feel free to put the .card-body
class on the .card
element to consolidate your markup.
Icing powder caramels macaroon. Toffee sugar plum brownie pastry gummies jelly.
Go somewhereSweet halvah dragée jelly-o halvah carrot cake oat cake. Donut jujubes jelly chocolate cake marzipan chocolate chocolate bar.
Go somewhereTopping dessert marshmallow gummi bears chupa chups marzipan.
Card link Another linkCards support a wide variety of content, including images, text, list groups, links, and more. Mix and match multiple content types to create the card you need.
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereSome quick example text to build on the card title and make up the bulk of the card's content.
Some quick example text to build on the card title and make up the bulk of the card's content.
Some quick example text to build on the card title and make up the bulk of the card's content.
Candy cupcake sugar plum oat cake wafer marzipan jujubes lollipop macaroon. Cake dragée jujubes donut chocolate bar chocolate cake cupcake chocolate topping. Dessert jelly beans toffee muffin.
Card link Another linkConstrain the width of cards via custom CSS, our predefined grid classes, or with custom styles using our grid mixins.
You can quickly change the text alignment of any card—in its entirety or specific parts—with our text align classes.
Gummi bears I love oat cake gingerbread donut cotton candy pie biscuit tart. Chocolate cake chocolate cake I love marzipan cookie macaroon. Tart I love I love carrot cake carrot cake chupa chups caramels. Carrot cake pastry cotton candy.
Dessert I love brownie biscuit topping I love chocolate cake gingerbread jelly beans. Chocolate cake cake cheesecake. Chocolate cake pastry macaroon.
Go somewhereGummi bears I love oat cake gingerbread donut cotton candy pie biscuit tart. Chocolate cake chocolate cake I love marzipan cookie macaroon. Tart I love I love carrot cake carrot cake chupa chups caramels. Carrot cake pastry cotton candy.
Dessert I love brownie biscuit topping I love chocolate cake gingerbread jelly beans. Chocolate cake cake cheesecake. Chocolate cake pastry macaroon.
Go somewhereGummi bears I love oat cake gingerbread donut cotton candy pie biscuit tart. Chocolate cake chocolate cake I love marzipan cookie macaroon. Tart I love I love carrot cake carrot cake chupa chups caramels. Carrot cake pastry cotton candy.
Dessert I love brownie biscuit topping I love chocolate cake gingerbread jelly beans. Chocolate cake cake cheesecake. Chocolate cake pastry macaroon.
Go somewhereSimilar to headers and footers, cards include top and bottom image caps.
Turn an image into a card background and overlay your card’s text. Depending on the image, you may or may not need .text-white
Jelly-o sesame snaps cheesecake topping. Cupcake fruitcake macaroon donut pastry gummies tiramisu chocolate bar muffin. Dessert bonbon caramels brownie chocolate bar chocolate tart dragée.
Cupcake fruitcake macaroon donut pastry gummies tiramisu chocolate bar muffin.
Last updated 3 mins ago
Jelly-o sesame snaps cheesecake topping. Cupcake fruitcake macaroon donut pastry gummies tiramisu chocolate bar muffin. Dessert bonbon caramels brownie chocolate bar chocolate tart dragée.
Cupcake fruitcake macaroon donut pastry gummies tiramisu chocolate bar muffin.
Last updated 3 mins ago
Cards include their own variant classes for quickly changing the background-color
and border-color
of a card. Darker colors require the use of .text-white
.
Cards include a class for quickly toggling the text color. By default, cards use dark text and assume a light background. Add .text-white
for white text and specify the background-color
and border-color
to go with it.
You can also use .text-white
with the contextual backgrounds variants.
Donut toffee candy brownie soufflé macaroon.
456 items
Donut toffee candy brownie soufflé macaroon.
Donut toffee candy brownie soufflé macaroon.
945 items
Donut toffee candy brownie soufflé macaroon.
In need of a colored card, but not the hefty background colors they bring? Replace the default modifier classes with the .border-*
ones to style just the border-color
of a card.
Donut toffee candy brownie soufflé macaroon.
456 items
Donut toffee candy brownie soufflé macaroon.
Donut toffee candy brownie soufflé macaroon.
945 items
Donut toffee candy brownie soufflé macaroon.
Use card groups to render cards as a single, attached element with equal width and height columns. By default, card groups use display: table;
and table-layout: fixed;
to achieve their uniform sizing. However, enabling flexbox mode can switch that to use display: flex;
and provide the same effect.
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
Need a set of equal width and height cards that aren’t attached to one another? Use card decks. By default, card decks require two wrapping elements: .card-deck-wrapper
and a .card-deck
. We use table styles for the sizing and the gutters on .card-deck
. The .card-deck-wrapper
is used to negative margin out the border-spacing
on the .card-deck
.
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
This card has supporting text below as a natural lead-in to additional content.
Last updated 3 mins ago
Cards can be organized into Masonry-like columns with just CSS by wrapping them in .card-columns
. Only applies to small devices and above.
Heads up! This is not available in IE9 and below as they have no support for the column-* CSS properties.
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereDonut toffee candy brownie soufflé macaroon.
945 items
456 items
Jelly-o sesame snaps cheesecake topping. Cupcake fruitcake macaroon donut pastry gummies tiramisu chocolate bar muffin. Dessert bonbon caramels brownie chocolate bar chocolate tart dragée.
Cupcake fruitcake macaroon donut pastry gummies tiramisu chocolate bar muffin.
Last updated 3 mins ago
Donut toffee candy brownie soufflé macaroon.