I need to set the background color of the slider for visually impaired users.
This is quite easy if I know the exact ID.
some_slider {
background: red;
}
But, I don't. I can guarantee that all data-slider-id values END in a certain way.
but
[id=$_slider] {
background: red;
}
does not match such that your code changes the background color.
Is there a way that I can partial match in the CSS?
OR, is there a way I can force the background color of a given slider in some other way?
Thank you.
I need to set the background color of the slider for visually impaired users. This is quite easy if I know the exact ID.
some_slider {
background: red; }
But, I don't. I can guarantee that all data-slider-id values END in a certain way. but [id=$_slider] { background: red; } does not match such that your code changes the background color.
Is there a way that I can partial match in the CSS? OR, is there a way I can force the background color of a given slider in some other way? Thank you.