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

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -