Simon Willison 用 Claude 制作 Select Styling Specimens 并分享…
Tool: Select Styling Specimens
Simon Willison 用 Claude Fable 5.2 制作 Select Styling Specimens 页面,展示 select 下拉框的多种样式,以便在桌面和移动浏览器中截图比较。经过试验,他给出了自己偏好的 CSS,通过自定义边框、间距、颜色和 SVG 箭头统一 select 外观。
推荐理由
AI 评分 58
作者提供了可直接复用的 select 样式与生成页面的提示词,可用于统一不同浏览器中的表单外观。
主题
正文
#smallhead
22nd November 2026
Tool Select Styling Specimens
I got frustrated at how HTML boxes default to looking different in different browsers, and are (I think) quite ugly in Chrome:
So I had Claude Fable 5.2 build me this page showing all of the ways they can be styled:
Build an HTML page that shows all of the ways a select box can be styled, I plan to take screenshots in every desktop and mobile browser
After some experimentation I've decided my favorite CSS for select boxes is this:
select { appearance: none; color: #1f2933; padding: 0.5em 2.25em 0.5em 0.75em; border: 1px solid #c4cbd3; border-radius: 6px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23667085' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 0.75em center / 0.75em; }
Here's what that looks like in the three browsers:
Posted 22nd November 2026 at 7:45 pm
Recent articles
Running the full server-side Datasette Python app in the browser with service workers and Pyodide - 17th November 2026
Locating the source of a mysterious beep with Claude - 9th November 2026
Hide your slop PR descriptions behind - 9th November 2026
Qwen 3.8 27B on my laptop can interpret model weights, too - 3rd November 2026
This is a beat by Simon Willison, posted on 22nd November 2026.
AI 热点