I’m trying to change the background color of a checkbox.
in css I have tried:
input[type="checkbox"] {
position: relative;
appearance: none;
background-color: #2ecc71;
color: #49400c;
}
this does not work. And in JS im trying:
checkbox.style("background-color", "black");
checkbox.style("color", "white");
How can I change the background of the checkbox and where are the JS .style() messages documented?
Thanks a lot!