Select Styling Approaches Across Browsers
Simon Willison created a demonstration page using Claude Fable 5.2 to explore HTML select box styling variations, with the goal of capturing screenshots across desktop and mobile browsers. After experimentation, Willison identified his preferred CSS approach, using appearance: none along with specific values for color (#1f2933), padding (0.5em 2.25em 0.5em 0.75em), a 1px solid border, 6px border-radius, and an embedded SVG dropdown arrow.
Willison’s motivation stemmed from frustration with how select boxes render differently across browsers and appear particularly unappealing in Chrome. He displayed the results of his chosen styling approach across three browsers.
Read the full article
Continue reading at Simon Willison →This is an AI-generated summary. Read the original for the full story.