0

I want to change the background color of the checkbox after it is ticked. I have:

input[type='checkbox'] {
   background: green;
}

Doesn't seem to work. Any suggestions? Thanks in advance!

gitastic
  • 516
  • 7
  • 26
  • This would be helpful http://stackoverflow.com/questions/7398462/css-background-color-attribute-not-working-on-checkbox-inside-div – Rahul Dess Oct 13 '14 at 21:40

1 Answers1

0

You should use custom checkbox to do this. iCheck or prettyCheckable

more Here

Mohamad Shiralizadeh
  • 8,329
  • 6
  • 58
  • 93