this post was submitted on 28 Jul 2023
10 points (85.7% liked)

Firefox

4002 readers
5 users here now

A community for discussion about Mozilla Firefox.

founded 1 year ago
MODERATORS
 

The dropdown menu is here: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select

I'd like to change the CSS of the dropdown elements in a <select> element in dev tools, but I can't make the dropdown stay open.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (2 children)

Right click on it and there will be an option to force state

[–] [email protected] 1 points 1 year ago (1 children)

Can you be more specific? Do you mean right click it in the dev tools and change the psuedo-class? I just tried all of them again in both the <select> and an <option> element and it didn't work.

[–] [email protected] 1 points 1 year ago

You should be able to do this if you inspect the element in the Dev tools