Cards

Cards are blocks of content that are surrounded by a border.

Types

Single card

A single card with multiple links. In this layout the heading is a link.

HTML code snippet

<article class="m-card">
    <h2 class="m-card_heading">
        <a href="#">
            <div class="m-card_icon">{% include icons/idea.svg %}</div>
            <span>Bank accounts</span>
        </a>
    </h2>

    <ul class="m-list">

        <li class="m-list_item">
            How quickly can I get money after I deposit a check into my
            checking account? What is a deposit hold?
            <a href="#" class="a_link">
                Read answer
            </a>
        </li>

        <li class="m-list_item">
            I would like to be able to have my friend or family member
            help with my bill-paying and banking.
            What are my options?
            <a href="#" class="a_link">
                Read answer
            </a>
        </li>

    </ul>

    <p class="m-card_footer">
        <a href="#">
            Learn more about bank accounts
        </a>
    </p>
</article>

Featured card

A single featured card. The .m-card__featured modifier is added.

Groups

Card group

A default group of cards together is stacked vertically.

HTML code snippet

<div class="o-card-group">
    <div class="o-card-group_cards">
        <article class="m-card">
            <h2 class="m-card_heading">
                <a href="#">
                    <div class="m-card_icon">{% include icons/idea.svg %}</div>
                    <span>Bank accounts</span>
                </a>
            </h2>

            <ul class="m-list">

                <li class="m-list_item">
                    How quickly can I get money after I deposit a check
                    into my checking account? What is a deposit hold?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

                <li class="m-list_item">
                    I would like to be able to have my friend or family
                    member help with my bill-paying and banking.
                    What are my options?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

            </ul>

            <p class="m-card_footer">
                <a href="#">
                    Learn more about bank accounts
                </a>
            </p>
        </article>

        <article class="m-card">
            <h2 class="m-card_heading">
                <a href="#">
                    <div class="m-card_icon">{% include icons/car.svg %}</div>
                    <span>Auto loans</span>
                </a>
            </h2>

            <ul class="m-list">

                <li class="m-list_item">
                    What effect will shopping for
                    an auto loan have on my credit?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

                <li class="m-list_item">
                    I owe more on my current loan than my current
                    vehicle is worth. What do I need to know
                    if I buy a new vehicle?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

            </ul>

            <p class="m-card_footer">
                <a href="#">
                    Learn more about auto loans
                </a>
            </p>
        </article>

        <article class="m-card">
            <h2 class="m-card_heading">
                <a href="#">
                    <div class="m-card_icon">{% include icons/credit-card.svg %}</div>
                    <span>Credit cards</span>
                </a>
            </h2>

            <ul class="m-list">

                <li class="m-list_item">
                    What is a credit card interest rate? What does APR mean?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

                <li class="m-list_item">
                    How do I dispute a charge on my credit card bill?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

            </ul>

            <p class="m-card_footer">
                <a href="#">
                    Learn more about credit cards
                </a>
            </p>
        </article>
    </div>
</div>

Card group - two column

A group of cards broken into two columns. The .o-card-group__column-2 modifier is added.

HTML code snippet

<div class="o-card-group o-card-group__column-2">
    <div class="o-card-group_cards">
        <article class="m-card">
            <h2 class="m-card_heading">
                <a href="#">
                    <div class="m-card_icon">{% include icons/idea.svg %}</div>
                    <span>Bank accounts</span>
                </a>
            </h2>

            <ul class="m-list">

                <li class="m-list_item">
                    How quickly can I get money after I deposit a check
                    into my checking account? What is a deposit hold?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

                <li class="m-list_item">
                    I would like to be able to have my friend or family
                    member help with my bill-paying and banking.
                    What are my options?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

            </ul>

            <p class="m-card_footer">
                <a href="#">
                    Learn more about bank accounts
                </a>
            </p>
        </article>

        <article class="m-card">
            <h2 class="m-card_heading">
                <a href="#">
                    <div class="m-card_icon">{% include icons/car.svg %}</div>
                    <span>Auto loans</span>
                </a>
            </h2>

            <ul class="m-list">

                <li class="m-list_item">
                    What effect will shopping for
                    an auto loan have on my credit?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

                <li class="m-list_item">
                    I owe more on my current loan than my current
                    vehicle is worth. What do I need to know
                    if I buy a new vehicle?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

            </ul>

            <p class="m-card_footer">
                <a href="#">
                    Learn more about auto loans
                </a>
            </p>
        </article>

        <article class="m-card">
            <h2 class="m-card_heading">
                <a href="#">
                    <div class="m-card_icon">{% include icons/credit-card.svg %}</div>
                    <span>Credit cards</span>
                </a>
            </h2>

            <ul class="m-list">

                <li class="m-list_item">
                    What is a credit card interest rate? What does APR mean?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

                <li class="m-list_item">
                    How do I dispute a charge on my credit card bill?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

            </ul>

            <p class="m-card_footer">
                <a href="#">
                    Learn more about credit cards
                </a>
            </p>
        </article>
    </div>
</div>

Card group - three column

A group of cards broken into three columns. The .o-card-group__column-3 modifier is added.

HTML code snippet

<div class="o-card-group o-card-group__column-3">
    <div class="o-card-group_cards">
        <article class="m-card">
            <h2 class="m-card_heading">
                <a href="#">
                    <div class="m-card_icon">{% include icons/idea.svg %}</div>
                    <span>Bank accounts</span>
                </a>
            </h2>

            <ul class="m-list">

                <li class="m-list_item">
                    How quickly can I get money after I deposit a check
                    into my checking account? What is a deposit hold?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

                <li class="m-list_item">
                    I would like to be able to have my friend or family
                    member help with my bill-paying and banking.
                    What are my options?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

            </ul>

            <p class="m-card_footer">
                <a href="#">
                    Learn more about bank accounts
                </a>
            </p>
        </article>

        <article class="m-card">
            <h2 class="m-card_heading">
                <a href="#">
                    <div class="m-card_icon">{% include icons/car.svg %}</div>
                    <span>Auto loans</span>
                </a>
            </h2>

            <ul class="m-list">

                <li class="m-list_item">
                    What effect will shopping for
                    an auto loan have on my credit?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

                <li class="m-list_item">
                    I owe more on my current loan than my current
                    vehicle is worth. What do I need to know
                    if I buy a new vehicle?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

            </ul>

            <p class="m-card_footer">
                <a href="#">
                    Learn more about auto loans
                </a>
            </p>
        </article>

        <article class="m-card">
            <h2 class="m-card_heading">
                <a href="#">
                    <div class="m-card_icon">{% include icons/credit-card.svg %}</div>
                    <span>Credit cards</span>
                </a>
            </h2>

            <ul class="m-list">

                <li class="m-list_item">
                    What is a credit card interest rate? What does APR mean?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

                <li class="m-list_item">
                    How do I dispute a charge on my credit card bill?
                    <a href="#" class="a_link">
                        Read answer
                    </a>
                </li>

            </ul>

            <p class="m-card_footer">
                <a href="#">
                    Learn more about credit cards
                </a>
            </p>
        </article>
    </div>
</div>

Featured card group

A group of featured cards together with a heading and green background. The .o-card-group__bg-green modifier is added to the group and the .m-card__featured modifier is added to the cards.