0.6.0 • Published 6 years ago

classy-button v0.6.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Classy Button

A standart, but classy, button.

Installation

The recommended installation method is a npm.

npm install --save-dev classy-button

Usage

Buttons have a few required constraints for proper functionality, accessibility, and styling:

  • Whenever possible, use button over a.
  • Never set tabindex on buttons - let the browser automatically set that.
<button class="button">Button</button>
<a class="button">A button link</a>
VariableDescription
@classy-button-namespaceThe namespace uses for classy button (button by default).
@classy-button-paddingThe vertical padding for buttons; the left and right values are doubled (.6em by default).
@classy-button-padding-miniThe vertical padding for mini buttons (a half of @classy-button-padding by default).

License

Licensed under the MIT license.

0.6.0

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago