How can I keep <select> dropdown menus open while inspecting them in dev tools?

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.

10 points · 6 comments · view on lemmy.world

6 Comments

justtobbi@feddit.de · 5 pts · 3y (2 replies)

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

soyagi@yiffit.net · 6 pts · 3y (1 reply)

This is what the upvote function is for.

TheTwelveYearOld@lemmy.world · 0 pts · 3y

lol.

FatherBean@lemmy.world · 5 pts · 3y (2 replies)

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

TheTwelveYearOld@lemmy.world · 1 pts · 3y (1 reply)

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.

FatherBean@lemmy.world · 1 pts · 3y

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