Select Styling Specimens
- ID
- 49317
- Status
- summarized
- Published
- 23 Nov 2026, 3:45 AM
- Fetched
- 23 Nov 2026, 9:17 AM
- Provider
- Simon Willison
- Category
- developer-ai
- Original URL
- https://simonwillison.net/2026/Nov/22/select-styling/
- Source URL
- https://simonwillison.net/atom/everything/
Summary
- Score
- 3.2
- Created
- 23 Nov 2026, 9:17 AM
- Tags
- Audience
- developersvibe_coders
What happened
Simon Willison built a page cataloguing every way an HTML <select> can be styled, after getting frustrated that native select boxes render differently across browsers and look ugly in Chrome; he had Claude Fable 5.2 generate the page so he could screenshot it in every desktop and mobile browser. His preferred result is a single rule: appearance: none, color #1f2933, padding 0.5em 2.25em 0.5em 0.75em, 1px #c4cbd3 border, 6px radius, white background with an inline SVG data-URI chevron at right 0.75em center sized 0.75em. He shows the outcome in three browsers.
Why it matters
If you ship forms, this is a copy-pasteable select reset that keeps the native dropdown popup while making the closed control consistent across Chrome and the other two browsers he tested — but the rule as written sets no :focus-visible style, so you'd likely need to add your own focus ring before shipping it, and check the chevron against your own contrast and dark-mode palette.
Discussion angle
Hand-styling a select with appearance: none versus using a component library: what you gain in cross-browser consistency versus what you have to re-add yourself (focus states, disabled states, dark mode) — worth opening the tool page live and tabbing through it.