Source: _buttons.scss, line 6
1 Buttons
@mixin button
Improvement uppon the default buttons. Buttons as they should be.
Source: _buttons.scss, line 6
@mixin button
Improvement uppon the default buttons. Buttons as they should be.
<button>Normal button</button><button class="button">Utility button</button>
Source: _buttons.scss, line 149
@mixin buttonEffect([lighten, darken, 3d])
Add hover-effects to buttons
<button class="button--lighten button bg-green">Sample button</button>
<button class="button--darken button bg-green">Sample button</button>
<button class="button--3d button bg-green">Sample button</button>
Source: _buttons.scss, line 16
@mixin buttonSize([xs,sm,md,lg,xl,wide,wider])
use the BEM modifiers to change the default button sizes:
<button class="button--xs button bg-yellow">Sample button</button>
<button class="button--sm button bg-green">Sample button</button>
<button class="button--md button bg-red">Sample button</button>
<button class="button--lg button bg-blue">Sample button</button>
<button class="button--xl button bg-white">Sample button</button>
Source: _buttons.scss, line 101
@mixin buttonStyle([flat, curve, pill, round])
Add appearance styles to buttons
<button class="button--flat button bg-green">Sample button</button>
<button class="button--curve button bg-green">Sample button</button>
<button class="button--pill button bg-blue">Sample button</button>
<button class="button--round w64 h64 button bg-red">Big</button>