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.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago (1 children)

I sadly dont know the answer, but I would also like to know. Hence why I'm leaving this comment :)

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

This is what the upvote function is for.

[–] [email protected] 0 points 1 year ago
[–] [email protected] 5 points 1 year ago (1 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