Source

iswitch / example.html

Full commit
<!doctype html>
<html>
  <head>
    <title>iOS CSS switch</title>
    <style>
      body {
        background: #eee;
        font-family: Arial, sans-serif;
      }
      article {
        width: 35em;
        padding: 2em;
        margin: 10em auto 0;
        background: #fff;
      }
      .switch {
        margin: 1.8em 0 3em;
      }
    </style>
    <link rel="stylesheet" type="text/css" href="iswitch.css">
  </head>
  <body>
    <article>

      <h1>iOS-style CSS switcher</h1>

      <p>You could change color and size of the switch in LESS file.</p>

      <div class="switch">
        <input type="radio" name="radio" id="radio-1" checked> <label for="radio-1">Option 1</label>
        <input type="radio" name="radio" id="radio-2"> <label for="radio-2">Option 2</label>
      </div>

      <p><a href="http://code.aether.ru/iswitch">Return to repository</a></p>

    </article>
  </body>
</html>