A huge collection of pure css checkboxes. Click Here for Demo
- IE9+
- Chrome 49+
- Firefox 52+
- Safari 5+
- 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.
You can checkout the DEMO to get HTML Code for each design. Just press the HTML button.
- minor updates
- Major changes, Size reduction and refactor thanks to @varunsridharan. (No breaking changes)