DEV Community

Ken Sparks
Ken Sparks

Posted on

Input[type='checkbox'] question. Is there a way to change the color of the checkmark?

I've looked at a lot of articles regarding checkboxes and styling them. I'm just looking for a way to change the color of the checkmark. Is there a way to do this without creating a brand new checkmark or using an icon?

Top comments (2)

Collapse
 
crimsonmed profile image
Médéric Burlet

The default no but you can create your own. W3Schools has a very simple tutorial for this:
w3schools.com/howto/howto_css_cust...

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

You might try to access "shadowRoot".