gradientbtn
v1.0.2
Published
Set background gradient with hover effect on your button.
Downloads
2
Readme
gradientBtn
Set background gradient with hover effect on your button.
Installation
npm i gradientbtn --save
or
yarn add gradientbtn
Then...
import {gradientBtn} from 'gradientbtn'
gradientBtn({
color: 'grey'
})
add 'gradient-btn'class to your button
<button class="gradient-btn">My button</button>
Options
- color - yellow / red / green / blue / grey / pink /darkBlue (Defaults to grey)