<div class="custom-radio-group"> <form> <label class="radio-label"> <input type="radio" name="band" value="am" checked="" class="radio-input" /> <span>AM</span> </label>
.custom-radio-group { --transDur: 0.3s; display: flex; justify-content: center; align-items: center; padding: 1em; } .custom-radio-group form { display: flex; gap: 0.1em; max-width: 20em; margin: auto;