html - Is there a way to select an open select box in css? -


i set background image (arrow down) select box after setting webkit-appearance attribute none. when option list opened want display background image (arrow up). there pseudo class or it? couldn't find during reasearch...

it's not possible detect if html select element opened using css, or javascript.

if wish customise arrow symbol of custom dropdown, best option use custom dropdown component maps hidden select element.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -