Simple animated toggle switch This website staple can be create using a checkbox input: <label for="toggle"> <input type="checkbox" name="toggle" id="toggle" title="toggle" /> <div class="content"></div> </label> And some sweet CSS.