You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gradientbtn

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

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
Source
npmnpm
Version published
Maintainers
1
Created
Source

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