Skip to content

Latest commit

 

History

History
72 lines (43 loc) · 1.93 KB

README.md

File metadata and controls

72 lines (43 loc) · 1.93 KB

CSS only, bootstrap compatible toggle, checkbox and radio buttons.

npm version License Build status devDependency status

Quick start

Several quick start options are available:

  • Download the latest release.
  • Clone the repo: git clone https://github.com/alexdonh/toggle-checkbox-radio.git.
  • Install with npm: npm install toggle-checkbox-radio.

Usage

  1. Include toggle-checkbox-radio.css or toggle-checkbox-radio.min.css to your page:
<head>
...
<link href="path/to/toggle-checkbox-radio.css" rel="stylesheet" />
...
</head>
  1. Add toggle, checkbox or radio class:
<label>
	<input type="checkbox" class="toggle" /> This is a toggle
</label>

<label>
	<input type="checkbox" class="checkbox" /> And this is a checkbox
</label>

<label class="radio">
	<input type="radio" class="radio" /> I'm a radio button
</label>

Checkout the samples page for further information.

Dependencies

  • NO dependencies ;)

Support

All major browsers. Well... latest ones.

Author

Alex Do

Copyright and license

Copyright © 2018 Alex Do.

Licensed under the MIT License.