Attempted checkbox formatting (failed)

Tried to create a custom checkbox format using a label and CSS styling
but was unable to do this.