Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

toggle-checkbox-radio

2.0.2 • Public • Published

toggle-checkbox-radio

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.

Install

npm i toggle-checkbox-radio

DownloadsWeekly Downloads

52

Version

2.0.2

License

MIT

Unpacked Size

103 kB

Total Files

7

Last publish

Collaborators

  • avatar