DEV Community

Use CSS accent-color to style your inputs

Cassidy Williams on January 31, 2024

If you've ever wanted to style HTML <input> tags in your projects, you know it's a bit tricky to deal with the labels and making everything l...
Collapse
 
madsstoumann profile image
Mads Stoumann

There are also AccentColor and AccentColorText system colors, currently only supported in Safari — handy, if you want to set your own components to the system default accent-color.

Collapse
 
jangelodev profile image
João Angelo

Hi, Cassidy Williams,
Thanks for sharing

Collapse
 
codewithcaen profile image
CodeWithCaen

Wow, been using CSS for almost a decade and had no idea about this!

Collapse
 
keyurparalkar profile image
Keyur Paralkar

Thanks for sharing this @cassidoo. It's insightful

Collapse
 
vadimnevlad profile image
Vadym Marukhnenko

Thanks for sharing

Collapse
 
officialphaqwasi profile image
Isaac Klutse

Thanks for sharing

Collapse
 
sebaslc16 profile image
Joan Sebastian Londoño Castaño

Hi, Cassidy, hank you for sharing.
Keep coding <>