2¢ of mine:
http://roxon.in/scripts/checkbox_radio_custom.html
Basically with a couple of lines of JS - jQuery, you can replace the checkboxes with a<span>
element. (Or with two like I did in my example link if you want to go fancy.)
$(':checkbox').each(function(){
var $c = $(this);
$c.hide().after('<span/>');
$c.next('span').click(function(){
$c[0].checked^=1;
});
});
than all you need is to be creative using CSS and CSS3 animations.
Here's how to target your SPAN
that jQuery appended after the hidden INPUT
:
/* target the hidden checkbox's next SPAN element: */
input[type=checkbox] + span{
}
/* Custom checkbox HOVER: */
input[type=checkbox] + span:hover{
}
/* Custom checkbox CHECKED STATE */
input[type=checkbox]:checked + span{
}
Have fun.