pseudo-element
::picker() — CSS reference
Targets the dropdown picker of an opted-in select. Style it separately from the closed control; normal select semantics remain.
Formal Syntax & Structure
css syntaxcss
select::picker(select) { background: lightblue; }Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>::picker()</title><style>body{margin:16px;font:16px/1.5 system-ui;background:white;color:#172033} .demo{background:#dbeafe;box-sizing:border-box} button,select{font:inherit}select,select::picker(select){appearance:base-select}select::picker(select){background:rgb(219,234,254)}</style><body><label for="choice">Choose a course</label> <select id="choice"><option value="css">CSS</option><option value="html">HTML</option></select></body></html>