<label><input value="on" name="dummy" type="checkbox" class="bubble"></label>
:root { --bubbleTiming: cubic-bezier(0.5,0.15,0.25,1.75); font-size: calc(40px + (60 - 40) * (100% - 320px) / (1280 - 320)); } label, .bubble { display: block; -webkit-tap-highlight-color: transparent; } label { animation: float 4s ease-in-out infinite;