Epic

An epic is an effective way of displaying meaningful content on a page with a hero styled appearance.

Usage

Use of the epic component is simple, just add the epic class to the parent of the content you wish to wrap. This will add padding on the x and y axis of the container.
Note: Be sure to add the bg-{color} class to display the appropriate background.

Epic section

This section is pretty epic, you can put all sorts inside of me, headings, leads & CTA's.

<div class="epic bg-primary c-white br">
    <h1>Epic section</h1>
    <p class="lead">This section is pretty epic...</p>
    <button class="btn btn-white btn-outline">Call to action!</button>
</div>Copy iconSuccess icon

Variables

Change the default epic padding with the variables below.

Variable Value Description
$epic-mobile-padding: 2rem 1rem;
Pixel/em/rem Padding amount for the mobile epic section in pixels, em's or rem's.
$epic-default-padding: 4rem 2rem;
Pixel/em/rem Padding amount for the default epic section (tablet and above) in pixels, em's or rem's.