Material Style Toggle Switches with Pure CSS / CSS3

Credit : enhanced version of this script.