Simple vanilla Javascript plugin for enhancing checkboxes using CSS. Accessible, lightweight and easy to use. No dependencies.
<input id="mycheckbox" type="checkbox" class="checkbix" data-text="Checkbix">
See the demo for more examples and settings.
bower install checkbix.js
npm install checkbix
<link rel="stylesheet" href="dist/css/checkbix.min.css">
<script src="dist/js/checkbix.min.js"></script>
<script>
Checkbix.init();
</script>
Build
npm run build:all
Serve
npm start
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.