Change <fluent-select> and <fluent-option> background color in CSS #29353
Unanswered
BenjaminTGa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to change the background colors of the and elements in CSS. I can change it to the "accent" appearance, which is a blue by default, or a custom color. This is the code I'm using to create the :
I tried this to change the color:
This turned the element's color red while the page was loading, but then turned back to white. Somehow, I'm able to change the font color with
color: #FFFFFF;
but not the background color. Is this even possible?Beta Was this translation helpful? Give feedback.
All reactions