x
 
1
<!DOCTYPE html>
2
<title>Example</title>
3
<style>
4
    input[type="checkbox"]:checked {
5
        box-shadow: 0 0 10px 3px deeppink;
6
        background: deeppink;
7
    }
8
</style>
9
10
<input type="checkbox" id="example">
11
<label for="example">Check this</label>