when input is selected css code example Example: not checked css input[type="checkbox"]:unchecked{ <style> }