I'm trying to make a checkbox look like the rest of the buttons on my site: pencilfactorygames.com/createaccount.html Here's my css:
input[type="checkbox"]{
display:none;
}
input[type="checkbox"] + label {
background: -webkit-linear-gradient(top, #222 50%, #111 50%);
border-radius: 5px;
color:#FFF;
display:inline-block;
width:19px;
height:19px;
margin:-1px 4px 0 0;
}
input[type="checkbox"]:checked + label {
background: -webkit-linear-gradient(top, #0F0 50%, #F00 50%);
}
and here's my html: <input type="checkbox" name="ToS">
When I test it, it just looks like the plain default checkbox.
Edit: Fixed, Forgot tomake checkbox invisible