Skip to content

Repository files navigation

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 HTML file add:

<script src="jquery.clickstyle.js"></script>

In 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.

Install with npm

npm install click-style

About

A jQuery plugin that styles a button when it's clicked!

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages