The accent-color css property is used to change the background color of checkboxes or radio buttons.

accent-color: red;

Example

HTML

<input type="checkbox" value="some value" />


CSS

input[type="checkbox"] {
  accent-color: red;
}



If you find it helpfull please share with your network โœ….

Happy Coding ๐Ÿ™Œ !