Home / CSS Tips Generated By ChatGPT / Styling :checked State for Form Inputs in CSS Provide visual feedback for checked state in checkboxes and radio buttons. Source Code input[type="checkbox"]:checked + label { color: #4CAF50; font-weight: bold; }