1.1.4 • Published 5 years ago

gradow-btn v1.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Gradow-components.css

Gradow-button

It's library of custom buttons with cool shadow-effect

Features

  • Basic
    • Border-radius -
    • Colors - Primary, Accept , Info, Secondary , Danger , Light , Dark
    • Animations
  • Responsive
  • No JavaScript
  • State - Focus, Hover
  • Supports frameworks - Bootstrap, Foundation, Sematic UI, Bulma, ...
  • Supports all modern browsers, including mobile devices
  • Print friendly

Installation

Npm module

  >npm i gradow-btn 
<link rel="stylesheet" href="<PATH>/graddow-btn/graddow-btn.min.css"/>

<PATH> is where the library is downloaded.

Add graddow-btn.min.css in your html

CDN

  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gradow-btn@1.1.0/gradow-btn.min.css"/>

Usage

Gradow button comes with many styles,

Class nameDescription
s-btnBasic style *required
b-primaryAdd primary-styles(blue) for button
b-acceptAdd primary-styles(green) for button
b-dangerAdd primary-styles(red) for button
b-infoAdd primary-styles(yellow) for button
b-secondaryAdd primary-styles(grey) for button
b-lightAdd primary-styles(light) for button
b-darkAdd primary-styles(dark) for button
r-{number}Sets the radius of the button
w-{number}Sets the width of the button
h-{number}Sets the height of the button

Example

  • Primary button
  <div class="">
     <button class="s-btn b-primary-simple r-20 w-170 h-30">Send</button>
  </div>
  • Accept button
  <div class="">
     <button class="s-btn b-accept-simple r-10 h-30">Accept</button>
  </div>

Buttons has extra classes for stylization size r-30 w-200 h50 You can combine them.

  <div class="">
     <button class="s-btn b-primary-simple r-30 w-180 h-40" >Send</button>
  </div>

Browser support

Works in all modern browsers.

Chrome >= 26 Firefox >= 16 Safari >= 6.1 Opera >= 15 IE >= 9

Authors

Shemet Daniil - DanyaShemet

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago