MDN self-hosted library · e01.org

`::picker-icon` CSS pseudo-element

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
select,
::picker(select) {
  appearance: base-select;
}
css
select::picker-icon {
  color: #999999;
  transition: 0.4s rotate;
}
css
select:open::picker-icon {
  rotate: 180deg;
}