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

python 2.7 - Chat Solution for Mobile App -

jquery - Detect current Section with javascript -