Customize checkbox without using images and javascript and also do cool stuff with it.
you can change any other property on label when checkbox is checked.
Attribute for="box1" : This tells label "label_box1" to react to the check events of checkbox with id "box1"
additional class "center" can be added on label for the circular toggle button. additional class "line" can be added on label for the linear toggle button.
Make sure you add a container id while accessing checkbox and setting its display property to "none"
This is to avoid making it generic. In this project, the container for toggle buttons is toggleCheckboxContainer
The toggle button is scalable and the scaling is depend upon the font-size that was set on the parent container as it inherits it
if we have to show the text next to toggle button, the line height property needs to be set on container to make sure the text is middle align to toggle button
It has 4 different themes from theme0 to theme3. Add the theme class of your choice for the checkbox to take effect