Toggle Switches using input radio and CSS3

Here's a very cool piece of CSS.

Style an input radio button to make it look like a switch button.

This CSS will look great on Chrome, Safari, Firefox, Opera but not Internet Explorer. You might want to create a specific IE stylesheet to style the radio buttons different.

HTML

CSS

Source: http://codepen.io/Thibaut/details/iomak

5 comments

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*