pseudo-element

::picker icon — CSS reference

Targets the disclosure icon of a customizable select. It can respond to :open; the icon is decorative and should not be the only source of accessible instructions.

Formal Syntax & Structure

css syntaxcss
::picker-icon { color: green; }

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>::picker-icon</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-icon{color:rgb(0,128,0)}</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>
CSS Reference