I have a label
element containing a radio button and the reason for this structure is to make the label clickable.
<label><input type="radio" name="checkbox" value="128GB">128GB</label>
However, I need to style the label if the button is checked. I understand there is no parent selector so how can I achieve this without losing the click-ability of the label? is there a solution apart from using JavaScript?