<p>A <strong>card</strong> is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options. If you’re familiar with Bootstrap 3, cards replace our old panels, wells, and thumbnails. Similar functionality to those components is available as modifier classes for cards.</p>
<h2id="example">Example</h2>
<p>Cards are built with as little markup and styles as possible, but still manage to deliver a ton of control and customization. Built with flexbox, they offer easy alignment and mix well with other Bootstrap components. They have no <codeclass="highlighter-rouge">margin</code> by default, so use <ahref="/docs/4.1/utilities/spacing/">spacing utilities</a> as needed.</p>
<p>Below is an example of a basic card with mixed content and a fixed width. Cards have no fixed width to start, so they’ll naturally fill the full width of its parent element. This is easily customized with our various <ahref="#sizing">sizing options</a>.</p>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<h3id="titles-text-and-links">Titles, text, and links</h3>
<p>Card titles are used by adding <codeclass="highlighter-rouge">.card-title</code> to a <codeclass="highlighter-rouge"><h*></code> tag. In the same way, links are added and placed next to each other by adding <codeclass="highlighter-rouge">.card-link</code> to an <codeclass="highlighter-rouge"><a></code> tag.</p>
<p>Subtitles are used by adding a <codeclass="highlighter-rouge">.card-subtitle</code> to a <codeclass="highlighter-rouge"><h*></code> tag. If the <codeclass="highlighter-rouge">.card-title</code> and the <codeclass="highlighter-rouge">.card-subtitle</code> items are placed in a <codeclass="highlighter-rouge">.card-body</code> item, the card title and subtitle are aligned nicely.</p>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<p><codeclass="highlighter-rouge">.card-img-top</code> places an image to the top of the card. With <codeclass="highlighter-rouge">.card-text</code>, text can be added to the card. Text within <codeclass="highlighter-rouge">.card-text</code> can also be styled with the standard HTML tags.</p>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><li</span><spanclass="na">class=</span><spanclass="s">"list-group-item"</span><spanclass="nt">></span>Dapibus ac facilisis in<spanclass="nt"></li></span>
<spanclass="nt"><li</span><spanclass="na">class=</span><spanclass="s">"list-group-item"</span><spanclass="nt">></span>Vestibulum at eros<spanclass="nt"></li></span>
<spanclass="nt"><li</span><spanclass="na">class=</span><spanclass="s">"list-group-item"</span><spanclass="nt">></span>Dapibus ac facilisis in<spanclass="nt"></li></span>
<spanclass="nt"><li</span><spanclass="na">class=</span><spanclass="s">"list-group-item"</span><spanclass="nt">></span>Vestibulum at eros<spanclass="nt"></li></span>
<p>Mix and match multiple content types to create the card you need, or throw everything in there. Shown below are image styles, blocks, text styles, and a list group—all wrapped in a fixed-width card.</p>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><li</span><spanclass="na">class=</span><spanclass="s">"list-group-item"</span><spanclass="nt">></span>Dapibus ac facilisis in<spanclass="nt"></li></span>
<spanclass="nt"><li</span><spanclass="na">class=</span><spanclass="s">"list-group-item"</span><spanclass="nt">></span>Vestibulum at eros<spanclass="nt"></li></span>
<spanclass="nt"><h5</span><spanclass="na">class=</span><spanclass="s">"card-title"</span><spanclass="nt">></span>Special title treatment<spanclass="nt"></h5></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<p>Card headers can be styled by adding <codeclass="highlighter-rouge">.card-header</code> to <codeclass="highlighter-rouge"><h*></code> elements.</p>
<divclass="bd-example">
<divclass="card">
<h5class="card-header">Featured</h5>
<divclass="card-body">
<h5class="card-title">Special title treatment</h5>
<pclass="card-text">With supporting text below as a natural lead-in to additional content.</p>
<spanclass="nt"><h5</span><spanclass="na">class=</span><spanclass="s">"card-title"</span><spanclass="nt">></span>Special title treatment<spanclass="nt"></h5></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><p></span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.<spanclass="nt"></p></span>
<spanclass="nt"><footer</span><spanclass="na">class=</span><spanclass="s">"blockquote-footer"</span><spanclass="nt">></span>Someone famous in <spanclass="nt"><cite</span><spanclass="na">title=</span><spanclass="s">"Source Title"</span><spanclass="nt">></span>Source Title<spanclass="nt"></cite></footer></span>
<spanclass="nt"><h5</span><spanclass="na">class=</span><spanclass="s">"card-title"</span><spanclass="nt">></span>Special title treatment<spanclass="nt"></h5></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<p>Cards assume no specific <codeclass="highlighter-rouge">width</code> to start, so they’ll be 100% wide unless otherwise stated. You can change this as needed with custom CSS, grid classes, grid Sass mixins, or utilities.</p>
<h3id="using-grid-markup">Using grid markup</h3>
<p>Using the grid, wrap cards in columns and rows as needed.</p>
<divclass="bd-example">
<divclass="row">
<divclass="col-sm-6">
<divclass="card">
<divclass="card-body">
<h5class="card-title">Special title treatment</h5>
<pclass="card-text">With supporting text below as a natural lead-in to additional content.</p>
<spanclass="nt"><h5</span><spanclass="na">class=</span><spanclass="s">"card-title"</span><spanclass="nt">></span>Special title treatment<spanclass="nt"></h5></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><h5</span><spanclass="na">class=</span><spanclass="s">"card-title"</span><spanclass="nt">></span>Special title treatment<spanclass="nt"></h5></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><h5</span><spanclass="na">class=</span><spanclass="s">"card-title"</span><spanclass="nt">></span>Special title treatment<spanclass="nt"></h5></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<p>You can quickly change the text alignment of any card—in its entirety or specific parts—with our <ahref="/docs/4.1/utilities/text/#text-alignment">text align classes</a>.</p>
<divclass="bd-example">
<divclass="card"style="width: 18rem;">
<divclass="card-body">
<h5class="card-title">Special title treatment</h5>
<pclass="card-text">With supporting text below as a natural lead-in to additional content.</p>
<spanclass="nt"><h5</span><spanclass="na">class=</span><spanclass="s">"card-title"</span><spanclass="nt">></span>Special title treatment<spanclass="nt"></h5></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><h5</span><spanclass="na">class=</span><spanclass="s">"card-title"</span><spanclass="nt">></span>Special title treatment<spanclass="nt"></h5></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><h5</span><spanclass="na">class=</span><spanclass="s">"card-title"</span><spanclass="nt">></span>Special title treatment<spanclass="nt"></h5></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><h5</span><spanclass="na">class=</span><spanclass="s">"card-title"</span><spanclass="nt">></span>Special title treatment<spanclass="nt"></h5></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><h5</span><spanclass="na">class=</span><spanclass="s">"card-title"</span><spanclass="nt">></span>Special title treatment<spanclass="nt"></h5></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>With supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<p>Cards include a few options for working with images. Choose from appending “image caps” at either end of a card, overlaying images with card content, or simply embedding the image in a card.</p>
<h3id="image-caps">Image caps</h3>
<p>Similar to headers and footers, cards can include top and bottom “image caps”—images at the top or bottom of a card.</p>
<pclass="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<pclass="card-text"><smallclass="text-muted">Last updated 3 mins ago</small></p>
</div>
</div>
<divclass="card">
<divclass="card-body">
<h5class="card-title">Card title</h5>
<pclass="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<pclass="card-text"><smallclass="text-muted">Last updated 3 mins ago</small></p>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></p></span>
<p>Turn an image into a card background and overlay your card’s text. Depending on the image, you may or may not need additional styles or utilities.</p>
<pclass="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<h5id="conveying-meaning-to-assistive-technologies">Conveying meaning to assistive technologies</h5>
<p>Using color to add meaning only provides a visual indication, which will not be conveyed to users of assistive technologies – such as screen readers. Ensure that information denoted by the color is either obvious from the content itself (e.g. the visible text), or is included through alternative means, such as additional text hidden with the <codeclass="highlighter-rouge">.sr-only</code> class.</p>
</div>
<h3id="border">Border</h3>
<p>Use <ahref="/docs/4.1/utilities/borders/">border utilities</a> to change just the <codeclass="highlighter-rouge">border-color</code> of a card. Note that you can put <codeclass="highlighter-rouge">.text-{color}</code> classes on the parent <codeclass="highlighter-rouge">.card</code> or a subset of the card’s contents as shown below.</p>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<p>You can also change the borders on the card header and footer as needed, and even remove their <codeclass="highlighter-rouge">background-color</code> with <codeclass="highlighter-rouge">.bg-transparent</code>.</p>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>Some quick example text to build on the card title and make up the bulk of the card's content.<spanclass="nt"></p></span>
<p>In addition to styling the content within cards, Bootstrap includes a few options for laying out series of cards. For the time being, <strong>these layout options are not yet responsive</strong>.</p>
<h3id="card-groups">Card groups</h3>
<p>Use card groups to render cards as a single, attached element with equal width and height columns. Card groups use <codeclass="highlighter-rouge">display: flex;</code> to achieve their uniform sizing.</p>
<pclass="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<pclass="card-text"><smallclass="text-muted">Last updated 3 mins ago</small></p>
<pclass="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
<pclass="card-text"><smallclass="text-muted">Last updated 3 mins ago</small></p>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This card has supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></p></span>
<pclass="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
<divclass="card-footer">
<smallclass="text-muted">Last updated 3 mins ago</small>
<pclass="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
</div>
<divclass="card-footer">
<smallclass="text-muted">Last updated 3 mins ago</small>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<spanclass="nt"></p></span>
<spanclass="nt"><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This card has supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.<spanclass="nt"></p></span>
<spanclass="nt"><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></span>
<pclass="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
<pclass="card-text"><smallclass="text-muted">Last updated 3 mins ago</small></p>
<pclass="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
<pclass="card-text"><smallclass="text-muted">Last updated 3 mins ago</small></p>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This card has supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></p></span>
<pclass="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
<divclass="card-footer">
<smallclass="text-muted">Last updated 3 mins ago</small>
<pclass="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
</div>
<divclass="card-footer">
<smallclass="text-muted">Last updated 3 mins ago</small>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<spanclass="nt"></p></span>
<spanclass="nt"><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This card has supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.<spanclass="nt"></p></span>
<spanclass="nt"><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></span>
<p>Cards can be organized into <ahref="https://masonry.desandro.com/">Masonry</a>-like columns with just CSS by wrapping them in <codeclass="highlighter-rouge">.card-columns</code>. Cards are built with CSS <codeclass="highlighter-rouge">column</code> properties instead of flexbox for easier alignment. Cards are ordered from top to bottom and left to right.</p>
<p><strong>Heads up!</strong> Your mileage with card columns may vary. To prevent cards breaking across columns, we must set them to <codeclass="highlighter-rouge">display: inline-block</code> as <codeclass="highlighter-rouge">column-break-inside: avoid</code> isn’t a bulletproof solution yet.</p>
<h5class="card-title">Card title that wraps to a new line</h5>
<pclass="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
</div>
</div>
<divclass="card p-3">
<blockquoteclass="blockquote mb-0 card-body">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<footerclass="blockquote-footer">
<smallclass="text-muted">
Someone famous in <citetitle="Source Title">Source Title</cite>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<footerclass="blockquote-footer">
<smallclass="text-muted">
Someone famous in <citetitle="Source Title">Source Title</cite>
</small>
</footer>
</blockquote>
</div>
<divclass="card">
<divclass="card-body">
<h5class="card-title">Card title</h5>
<pclass="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.</p>
<pclass="card-text"><smallclass="text-muted">Last updated 3 mins ago</small></p>
<spanclass="nt"><h5</span><spanclass="na">class=</span><spanclass="s">"card-title"</span><spanclass="nt">></span>Card title that wraps to a new line<spanclass="nt"></h5></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.<spanclass="nt"></p></span>
Someone famous in <spanclass="nt"><cite</span><spanclass="na">title=</span><spanclass="s">"Source Title"</span><spanclass="nt">></span>Source Title<spanclass="nt"></cite></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This card has supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></p></span>
Someone famous in <spanclass="nt"><cite</span><spanclass="na">title=</span><spanclass="s">"Source Title"</span><spanclass="nt">></span>Source Title<spanclass="nt"></cite></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This card has supporting text below as a natural lead-in to additional content.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></p></span>
Someone famous in <spanclass="nt"><cite</span><spanclass="na">title=</span><spanclass="s">"Source Title"</span><spanclass="nt">></span>Source Title<spanclass="nt"></cite></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">></span>This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.<spanclass="nt"></p></span>
<spanclass="nt"><p</span><spanclass="na">class=</span><spanclass="s">"card-text"</span><spanclass="nt">><small</span><spanclass="na">class=</span><spanclass="s">"text-muted"</span><spanclass="nt">></span>Last updated 3 mins ago<spanclass="nt"></small></p></span>
<p>Card columns can also be extended and customized with some additional code. Shown below is an extension of the <codeclass="highlighter-rouge">.card-columns</code> class using the same CSS we use—CSS columns— to generate a set of responsive tiers for changing the number of columns.</p>