How do I remove checkbox border?

Viewed 61835

Is it possible to remove the borders around a checkbox so that it appears invisible? I have it placed in a DIV with a color background.

7 Answers
input[type="checkbox"] {
    width: 25px;
    height: 25px;
    background: gray;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    position: relative;
    left: -5px;
    top: -5px;
    cursor: pointer;
}
Related