Other ways to write css to checked checkbox? -


pls help. css not functioning once uncheck/check. retains default load value.

input[type="checkbox"][checked] + label{} 

this 1 fine but, found weird not functioning on ie

input[type="checkbox"]:checked+label  

try below css :

input[type="checkbox"]:checked {   background-color: red;   } 

Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -