Creating an on off slide toggle with only CSS

Creating an on off slide toggle with only CSS

The HTML:

The CSS:

And here is a jsfiddel: http://jsfiddle.net/f0y4xurz/