HTML5 + CSS toggle slides

I was looking for a mobile friendly slide toggle but not having much luck. There a lot of options but I want something flexible, something I could modify with JavaScript, and something that is HTML form compliant. I ended up modifying this W3C example and bundling it in a CSS file. It uses CSS calc() and CSS variables so it requires a semi-modern browser.

SlideToggle demo



Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 54.234.146.26
To prevent spam please submit by clicking the kitten: