@octorchard/buttonz
v1.2.2
Published
buttonz is a tiny (~1kB) hand-crafted CSS button library written in Sass.
Downloads
6
Readme
buttonz
A CSS Button library
Hey there! Buttonz is a beautiful set of button styles for the modern web. It can be used by anyone wanting to enhance the look of their buttons without writing a thousand lines of code. Buttonz is also responsive for mobile screens!
Buttonz is aimed to be tiny (~1kB) and very productive so that you can kick start by just adding a single CSS file to your existing project.
Though, it is recommended to also use modern-normalize
.
Usage
Transpile it yourself
git clone https://github.com/octorchard/buttonz
cd buttonz
sass src/main.scss build/buttonz.css --style compressed -c
build/buttonz.css
is the minified CSS file. Along with it is the source map (which is not necessary to use).
Get it from the releases page
Head over to releases and download the buttonz-vX.Y.Z.zip
file which contains the minified CSS file and the source map.
(Note: starting from v1.1.0
, the CSS and the sourcemap are available separately, there is no .zip
)
Images
No styling:
With the btn
class:
Some extra colors as well - orange
, emerald
, aqua
, purple
, rose
, white
:
And sizes! 3 extra - medium
, large
and huge
:
Links with the .btn
class are also styled:
Disabled buttons have a lighter background (either add the disabled
attribute or the disabled
class):
All the color variants also have a lighter background if they are disabled:
<a href="/" class="btn">This is a link!</a>
Hope you like it!
License: Unlicense