Btn
Only changes font-size and line height
- .btn--large - Bigger size
- .btn--small - Smaller
- .btn--extra-small - Smallest
.btn--large
.btn--small
.btn--extra-small
<button class="btn [modifier class]">I'm a button</button>
<button class="btn btn--flat [modifier class]">I'm a flat button</button>
Only changes font-size and line height
- .btn--disabled - When the button is disabled
- :active - When the button is active
- :focus - When the button is active
- :hover - When the button is hovered
.btn--disabled
:active
:focus
:hover
<button class="btn [modifier class]">I'm a button</button>
<button class="btn btn--flat [modifier class]">I'm a flat button</button>
The main action
- .btn--disabled - When the button is disabled
- :active - When the button is active
- :focus - When the button is active
- :hover - When the button is hovered
.btn--disabled
:active
:focus
:hover
<button class="btn btn--primary [modifier class]">I'm a button</button>
<button class="btn btn--primary btn--flat [modifier class]">I'm a flat button</button>
The dangerous action
- .btn--disabled - When the button is disabled
- :active - When the button is active
- :focus - When the button is active
- :hover - When the button is hovered
.btn--disabled
:active
:focus
:hover
<button class="btn btn--danger [modifier class]">I'm a button</button>
<button class="btn btn--danger btn--flat [modifier class]">I'm a flat button</button>
The "urgent" action
- .btn--disabled - When the button is disabled
- :active - When the button is active
- :focus - When the button is active
- :hover - When the button is hovered
.btn--disabled
:active
:focus
:hover
<button class="btn btn--tango [modifier class]">I'm a button</button>
<button class="btn btn--tango btn--flat [modifier class]">I'm a flat button</button>