<label class="switch"> <input type="checkbox" /> <span class="slider"></span> <div class="battery"></div> </label>
.switch { font-size: 17px; position: relative; display: inline-block; width: 6em; height: 6em; } .switch input { opacity: 0; width: 0; height: 0;
This UI element is reposted from an external origin. Show them some appreciation!