<ul class="usa-card-group">
<li class="usa-card usa-card--flag tablet:grid-col-6">
<div class="usa-card__container">
<header class="usa-card__header">
<h2 class="usa-card__heading">Default flag</h2>
</header>
<div class="usa-card__media">
<div class="usa-card__img">
<img src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg" alt="A placeholder image">
</div>
</div>
<div class="usa-card__body">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>
</div>
<div class="usa-card__footer">
<button class="usa-button">Visit Florida Keys</button>
</div>
</div>
</li>
<li class="usa-card usa-card--flag usa-card--media-right tablet:grid-col-6">
<div class="usa-card__container">
<header class="usa-card__header">
<h2 class="usa-card__heading">Flag media right inset</h2>
</header>
<div class="usa-card__media usa-card__media--inset">
<div class="usa-card__img">
<img src="https://designsystem.digital.gov/img/introducing-uswds-2-0/built-to-grow--alt.jpg" alt="A placeholder image">
</div>
</div>
<div class="usa-card__body">
<p>Nemo illo et error deserunt qui doloremque provident perferendis fuga pariatur eum?</p>
</div>
<div class="usa-card__footer">
<button class="usa-button">Visit Florida Keys</button>
</div>
</div>
</li>
</ul>
No notes defined.
<ul class="usa-card-group">
{%- for card in cards -%}
<li class="usa-card {{ card.classes }}">
{% include "@card--basic" %}
</li>
{%- endfor -%}
</ul>
package:
name: null
version: 2.1.0
uswds:
path: ../../dist
cards:
- title: Default flag
classes: usa-card--flag tablet:grid-col-6
media: true
media_classes: ''
image_classes: ''
content:
- Lorem ipsum dolor sit amet consectetur adipisicing elit.
- title: Flag media right inset
classes: usa-card--flag usa-card--media-right tablet:grid-col-6
media: true
media_classes: usa-card__media--inset
image_classes: ''
content:
- >-
Nemo illo et error deserunt qui doloremque provident perferendis fuga
pariatur eum?