🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gradientbtn

Set background gradient with hover effect on your button.

1.0.2
latest
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created

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)

FAQs

Package last updated on 05 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts