问题
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!
回答1:
You should use custom checkbox to do this. iCheck or prettyCheckable
more Here
来源:https://stackoverflow.com/questions/26348891/rails-css-form-for-checkbox-styling