484 B
484 B
hero
Hero is a component for displaying a large box or image with a title and description
Class names
- component:
hero - part:
hero-content,hero-overlay
Syntax
<div class="hero {MODIFIER}">{CONTENT}</div>
Rules
- {MODIFIER} is optional
- Use
hero-contentfor the text content - Use
hero-overlayinside the hero to overlay the background image with a color - Content can contain a figure