click-style

1.0.1 • Public • Published

Click-Style

Click Style is a simple but good looking and helpful jQuery plugin. It styles the way a button looks when clicked automatically

Usage

Put the jquery.clickstyle.min.js and clickstyle.css(optional) into your website's directory.

In your jquery script add:

$('button').clickStyle();

To change the parameters, do this:

$('button').clickStyle({
  onclick: true, 
  color: "white", 
  background: "#29bf35",
  text: "Success!",
  rotate: true,
  transition: "1000",
  bordercolor: "none"
});

Inside the quotation marks change it to your desires.

Dependents (0)

Package Sidebar

Install

npm i click-style

Weekly Downloads

2

Version

1.0.1

License

ISC

Last publish

Collaborators

  • jwbmedia