Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force background color without knowing exact value of data-slider-id #940

Open
rlamberty opened this issue May 1, 2020 · 0 comments
Open

Comments

@rlamberty
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant