Toggle switch with css animation.
I like where you went with the animation.
Thanks @indyplanets, it's actually a fork. Can't take credit for it. The original was using angular (needlessly). I refactored it to use only jquery and css.
@merri I agree and appreciate good semantics. However, the project I prototyped this toggle for already has jQuery as a dependency. I'm also using the toggle to trigger dom manipulations on the page, so binding to the click event makes sense in this use case. If I were using it as a standard checkbox, your implementation would be superior :)
this is delicious. great job.
Need to know how to enable it? Go here.