checkbox active css code example
Example 1: checked radio button css
//html
<input id="rad1" type="radio" name="rad"/><label for="rad1">Radio 1</label>
<input id="rad2" type="radio" name="rad"/><label for="rad2">Radio 2</label>\
//css
input[type="radio"]:checked+label { font-weight: bold; }
Example 2: not checked css
input[type="checkbox"]:unchecked{
<style>
}