Awesome
CSS Checkbox Library
<img src="https://github.com/hunzaboy/CSS-Checkbox-Library/blob/master/screen.gif">Tons of Checkboxes
A huge collection of pure css checkboxes. <a href="https://hunzaboy.github.io/CSS-Checkbox-Library/">Click Here for Demo</a>
Compatible
- IE9+
- Chrome 49+
- Firefox 52+
- Safari 5+
How to use
- Install via NPM
npm i css-checkbox-library
or Download the Zip - Import the
checkboxes.min.css
orcheckboxes.css
file from thedist
folder. - Use the checkbox design you like with the following markup. In the example below the class
ckbx-square-1
is important.
<div class="ckbx-square-1">
<input type="checkbox" checked id="ckbx-square-1-2" value="0" name="ckbx-square-1">
<label for="ckbx-square-1-2"></label>
</div>
That's it.
<strong>You can checkout the <a href="https://hunzaboy.github.io/CSS-Checkbox-Library/">DEMO</a> to get HTML Code for each design. Just press the HTML button.</strong>
<a href='https://ko-fi.com/W7W112WHD' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi1.png?v=2' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
Changelog
1.5.1
- minor updates
1.5.0
- Major changes, Size reduction and refactor thanks to @varunsridharan. (No breaking changes)