<label><input value="on" name="dummy" type="checkbox" class="bubble"></label>
label, .bubble { display: block; -webkit-tap-highlight-color: transparent; } label { animation: float74 4s ease-in-out infinite; } .bubble, .bubble:before, .bubble:after { transition-duration: 0.2s; }