this post was submitted on 28 Jul 2023
15 points (100.0% liked)

Firefox

17862 readers
90 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years 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
[–] Anticorp@lemmy.ml 3 points 1 year ago

There are state managers inside of dev tools. You want to inspect the element and the check the :hover state, or :active state, whichever is applicable to your interface. I don't recall off-hand which button exposes those in dev tools, but it's at the top of the element inspector window. Click a few and I'm sure you'll find it.