I know how to change the appearance of the standard input. For example, there will be no problems with this code:
<input id="r1" name="radio1" type="radio" /> <label for="r1">Option 1</label> But what about the dependence on input nested in a label?
<span class="val"> <label><input type="radio">Option 1</label> <label><input type="radio">Option 2</label> <label><input type="radio">Option 3</label> <label><input type="radio">Option 4</label> </span> That is, we set the view for the label, the input is hidden. And with the selection of the selected object is a dead end. It is clear that the issue can be solved with a simple script. But is it possible to do only design styles?
An example of what I would like to receive.
There is no way to tag text inside a label, so the standard input: checked + label for defining active value styles is not appropriate.
