<input value="is_hot" name="temperature" type="checkbox" class="ch">
.ch, .ch:before, .ch:after { transition: all 0.3s ease-in-out; } .ch { background-color: rgb(27,123,145); border-radius: 0.2em; box-shadow: 0 0.05em 0 0.05em rgba(0,0,0,0.3) inset; font-size: 20px; overflow: hidden; position: relative; width: 3em;