<div class="checkbox">
    <input type="checkbox" id="checkbox_1">
    <label for="checkbox_1">Pure CSS Checkbox</label>
</div>
body {
    line-height: 24px;
    font-size: 16px;
}

.checkbox input[type="checkbox"] {
    opacity: 0;
}

.checkbox label::before,
.checkbox label::after {
    content: "";
    display: inline-block;
}

.checkbox label::before{
    height: 16px;
    width: 16px;
    
    border: 1px solid;   
}

.checkbox label::after {
    height: 6px;
    width: 9px;
    border-left: 2px solid;
    border-bottom: 2px solid;
    
    transform: rotate(-45deg);
}












/***************END**************/

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.