Hero In Progress
Large-format unit to promote content with a high-impact image
Default hero c-hero
Default hero that has no gradient overlay
Blue tint hero c-hero c-hero--blue-tint
Hero with a blue gradient overlay
Red tinted hero c-hero c-hero--red-tint
Hero with a red gradient overlay
Usage
When to use
Usage description.
When to consider an alternative
Alternative usage.
Class Name | Description |
---|---|
c-hero |
Apply to the hero block’s containing HTML element. This class sets up the background-image handling and text color for the unit. The |
c-hero--bare |
Add to the |
c-hero--tinted |
Add to the |
c-hero__body |
Apply to the container for the card body, which typically includes a title and description (see below) but can include any arbitrary markup including buttons for a call to action. The class manages the card’s background gradient. |
c-hero__title |
Apply to the card’s heading inside the card body. The recommended element for this class is |
c-hero__desc |
Apply to the card’s description text inside the card body. The recommended element for this class is |
Fine print
- Version: 0.3
- Last Updated: April 27, 2017
- Owner: Jane Doe