toggle-checkbox-radio

CSS only, bootstrap compatible toggle, checkbox and radio buttons

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
toggle-checkbox-radio
802.0.26 years ago7 years agoMinified + gzip package size for toggle-checkbox-radio in KB

Readme

CSS only, bootstrap compatible toggle, checkbox and radio buttons. npm version Licenselicense Build status devDependency status

Quick start

Several quick start options are available:
  • 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:
``` ... ... ```
  1. Add toggle, checkbox or radio class:
```
<input type="checkbox" class="toggle" /> This is a toggle
<input type="checkbox" class="checkbox" /> And this is a checkbox
<input type="radio" class="radio" /> I'm a radio button
``` 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 Licenselicense.