<div class="radio-input"> <div class="info"> <span class="question">What does CSS stand for?</span> <span class="steps">3/10</span> </div> <input type="radio" id="value-1" name="value-radio" value="value-1"> <label for="value-1">Computer Style Sheets</label> <input type="radio" id="value-2" name="value-radio" value="value-2"> <label for="value-2">Cascading Style Sheets</label> <input type="radio" id="value-3" name="value-radio" value="value-3"> <label for="value-3">Creative Style Sheets</label> <span class="result success">Congratulations!</span>
.radio-input input { display: none; } .radio-input { display: flex; flex-direction: column; padding: 12px; background: #fff; color: #000; border-radius: 10px; box-shadow: 0px 87px 78px -39px rgba(0,0,0,0.4);