City of Tampa Style Guide

Card 2.4

Toggle example guides Toggle HTML markup

A generic card component that has a border and dropshadow and can contain other elements such as images titles. The .card-deck is used to make all the cards in the row equal in height.

When to use: When you really want to highlight something like a new initiative or program.

When not to: When you have alot of content simpler buttons take up less space are less cognitive load on visitors to process.

Notes: Cards take up alot of realestate so you won't be able to use more than a few.

<insert-markup>components.card-</insert-markup>
...
Featured

Mayor Announces Bridges to Business Vendor Certification

Some quick example text to build on the card title and make up the bulk of the card's content.

...

Card title

This is the button version. Some quick example text to build on the card title and make up the bulk of the card's content.

Source: src/scss/base/_card.scss, line 1