In CSS accent-color
is used to change the colour of certain form elements such as progress
, range inputs
, radio inputs
, and checkbox inputs
.
input {
accent-color: #FF0000;
}
<input type="range" />
This only changes the main color though... Is there a CSS property to just as easily change the secondary colour? (The secondary colour being the white background of the slider in the above example.)
I am aware that the color-scheme property exists but I am hoping for more control than just light/dark.