Skip to content

Button

Overview

Applies styles to create a flat button.

html
<a class="c-button">Button</a>

Demo on CodePen

Modifiers

Size

Applies different sizes to the button.

NameDescription
c-button--size-smSmall.
c-button--size-lgLarge.
html
<a class="c-button c-button--size-sm">Small</a>
<a class="c-button c-button--size-md">Medium</a>
<a class="c-button c-button--size-lg">Large</a>

Demo on CodePen

Notes

Colors

You can change the color using a color utility or custom class.

html
<a class="c-button u-color-secondary">Raised</a>

Demo on CodePen

Elevation

You can add both elevation and animations by applying the press behavior.

html
<a class="c-button b-press">Raised</a>

Demo on CodePen