html - CSS for checked="checked" radio button not for only checked -
i have 1 css apply checked radio button not working when radio button checked checked="checked"
try this..
input[type="radio"]:checked + label { background:red; }
<input type="radio" name="r1" /> <label for="r1">radio</label>
Comments
Post a Comment