<!DOCTYPE html>
<title>Example</title>
<style>
input[type="checkbox"]:checked {
box-shadow: 0 0 10px 3px deeppink;
background: deeppink;
}
</style>
<input type="checkbox" id="example">
<label for="example">Check this</label>