Card decks (default)
To create a card deck, determine the best element to describe the content. In most cases, cards are best represented as <article>
s, and the card deck layout, called with the cards
class, on the parent element. In some cases, the cards represent a list of items, so use <ul>
. To affect a card layout, add a class .cards
to the list.
Card anatomy
Cards have several pieces that can come together to suit the content. They are presented in the visual order the card presents.
- Subsection heading
- Optional
- Use sparingly. When a card represents an entire section of content, the subsection heading may be included.
- Image
- Optional
- Use an image if it helps understand the content of the card. Prefer the most optimized level with grayscale.
- Content heading
- Required
- The heading summarizes the content in the card.
- Card body
- Required
- The card body holds the primary content of the card. It may consist of paragraphs, lists, or list groups. List groups are different from lists by providing more visual separation from each bullet. Use it if the bullets are more separate ideas than a visual breakdown of a composite sentence.
- Related content footer
- Optional, cannot be paired with the action link
- Content that is related but separate enough from the primary card content. The content in the footer is not the same, including links, to the content in the card body.
- Action link
- Optional, cannot be paired with the related content footer
- The card on the content has an immediate action, such as requesting or reserving the service. The link is not the same as the card body link.
Standard deck
Contained content with related
The heading isn’t linked, most of the content is contained within the card but has a footer with related content or link to related content.
Content preview with image and related content
The content is not contained to the card, but it is a preview to more content.
Along with an image for the content preview, it has a related content footer.
Contained content, sectioned bullets, with related content
The heading isn’t linked, most of the content is contained within the card but has a footer with related content or link to related content.
- Individual bullet
- Standalone but related content
- More bulleted content
Content preview, sectioned bullets, with related content
The content is not contained to the card, but it is a preview to more content.
Along with an image for the content preview, it has a related content footer.
Contained content preview with action link
The content on the card contains the bulk of the content. The content has an additional immediate action such as requesting a consultation or reserving a room.
Content preview with action link
The content on the card is a preview of content on another page. The content has an additional immediate action such as requesting a consultation or reserving a room.
Contained content, summarizing bullets, and related content
This content preview card does not have an image and utilizes bullets to make the content itself stand out more. It includes:
- important points,
- summarized brief snippets, and
- visually-drawing bullets.
Content preview, summarizing bullets, and related content
This content preview card does not have an image and utilizes bullets to make the content itself stand out more. It includes:
- important points,
- summarized brief snippets, and
- visually-drawing bullets.
Contained content summary
No image content preview
Content preview
This content preview card does not have an image and has only a basic content summary.
Contained unlinked content
This is as basic a card as one can get.
Content preview summary
No image content preview
Contained content sectioned bullets
The content does not have an image supplement but uses the list group styling for more distinctive bulleting. Has a related content footer.
- Hours: 8 a.m. to noon
- Location: Wilson Library
- Contact: call us
Content preview sectioned bullets
The content does not have an image supplement but uses the list group styling for more distinctive bulleting. Has a related content footer.
- Hours: 8 a.m. to noon
- Location: Wilson Library
- Contact: call us
Card deck with suit example
Content primarily as sectioned bullets
-
University hours
Important information
Other hours - Contact 1
- Contact 2 (something more)
- Contact 3
-
Multi-line link
for addresses
or something else - Link somewhere else
Content with sectioned bullets
-
Content item 1
A description of the content item.
-
Content item 2
A description of the content item.
-
Content item 3
A description of the content item.
-
Content item 4
A description of the content item.
Contained content preview with action link
The content on the card contains the bulk of the content.
Contained content preview with action link
The content on the card contains the bulk of the content.
Content preview
The content on the card contains the bulk of the content.
Content preview
The content on the card contains the bulk of the content.
Supported spaces
-
Data + Visualization Lab
Find computing tools and expertise to develop and apply data science and visual communication skills.
-
Faculty Commons
Connect with a broad community of librarians, instructional designers, teaching experts, and technology leaders to support educational goals.
-
Makerspace
Use equipment, materials, and tools to prototype ideas and build problem-solving skills.
-
Virtual Reality Studio
Explore how virtual worlds can support education, research, and patient care.
Ebooks
-
Libraries search
Find ebooks by limiting the search results to “Available Online” under “Availability” and “Books” under “Material Type”.
-
Ebook proxy linker
Generate durable links to specific sections of ebooks.