Styled Select Works in Chrome But Breaks in Firefox/Safari? The base-select Fix
October 6, 2026 | 9 min read | CSS
By Syed · Frontend Engineer & Creator of UITweak
For twenty years, styling a native <select> dropdown meant hacks, div soup, or a JavaScript component. Then appearance: base-select arrived and suddenly the dropdown itself became styleable: the button, the popup, the options, all of it. You rebuilt your select with ::picker(select), it looks perfect in Chrome, you ship it, and then the bug reports come in: in Firefox it is the same ugly native dropdown as always, and Safari is somewhere in between. This is the current state of the most exciting CSS feature of 2026, and debugging it means understanding exactly what shipped where.
30-second diagnosis: open the page in the broken browser and check whether appearance: base-select has any effect at all. If the select renders fully native, the browser does not support customizable selects yet: Chromium 135 and newer have it, Safari 26/27 is adding it, Firefox does not. Your job is not to force it, it is to degrade gracefully.
Why This Happens
Customizable selects are an opt-in: the browser only exposes the styleable parts after you declare appearance: base-select. Without support for that value, the declaration is ignored and you get the classic native control, including the native popup that ignores all your ::picker() rules. There is no partial failure mode to debug: either the engine understands base-select and the whole system lights up, or it does not and nothing you wrote applies. That all-or-nothing split is why it looks perfect in one browser and untouched in another.
Fix 1: Opt In Both the Select and the Picker
The most common mistake even in Chromium: styling the select but forgetting the picker needs the opt-in too. The popup is a separate pseudo-element and it stays native unless you ask:
/* both need the opt-in, not just the select */
select,
::picker(select) {
appearance: base-select;
}
::picker(select) {
border: 1px solid #e2e8f0;
border-radius: 12px;
padding: 6px;
box-shadow: 0 12px 32px rgb(15 23 42 / 0.15);
}If your button looks custom but the dropdown still looks native in Chrome, a missing ::picker(select) rule is almost certainly the cause.
Fix 2: Gate Everything Behind @supports
Never let base-select styles leak into browsers that do not understand them. Wrap the entire custom system so unsupported browsers get a clean, deliberately styled native select instead of a half-broken hybrid:
/* baseline: a decent native select everywhere */
select {
padding: 10px 14px;
border: 1px solid #cbd5e1;
border-radius: 10px;
font: inherit;
background: #fff;
}
/* enhancement: only where base-select exists */
@supports (appearance: base-select) {
select,
::picker(select) {
appearance: base-select;
}
::picker(select) {
border-radius: 12px;
padding: 6px;
}
option::checkmark {
display: none; /* custom selected marker instead */
}
}The baseline matters: Firefox users should see a select that looks intentionally designed, not an unstyled default that screams "we only tested Chrome."
Fix 3: Customize the Button Content with selectedcontent
The <selectedcontent> element clones the selected option's content into the button, so rich option markup (icons, two-line labels) reflects live without JavaScript:
<select>
<button>
<selectedcontent></selectedcontent>
</button>
<option value="1">
<span class="dot" style="background:#3b82f6"></span>
Blue team
</option>
<option value="2">
<span class="dot" style="background:#22c55e"></span>
Green team
</option>
</select>Style the button element inside the select like any other button. In unsupported browsers the whole thing degrades to the baseline from Fix 2, and the <selectedcontent> element is simply ignored.
Fix 4: Mind the Picker Positioning
The picker popup is top-layer content, which means it escapes overflow: hidden ancestors and z-index wars, but it also means your page's scroll containers will not move it. Keep the picker simple: avoid fixed heights that clip long option lists, and test it near viewport edges, where the browser flips its placement. If you need smart flipping with custom logic, that is the point where a popover plus anchor positioning becomes the better tool than a select.
Quick Recap
- Customizable selects are Chromium 135+ today; Safari is catching up, Firefox is not there yet.
- Opt in twice:
selectand::picker(select)both needappearance: base-select. - Gate the custom system behind
@supports (appearance: base-select)with a designed native fallback. - Use
<selectedcontent>for rich button content without JavaScript. - The picker is top-layer: it escapes overflow but will not track scrolling containers.
# Expansion draft: custom-select-base-select-fix-guide
Styling the Open State With :open
The select element matches :open while its picker is displayed. That gives you a clean hook for the button's open state, most commonly rotating the chevron:
@supports (appearance: base-select) {
select .chevron {
transition: transform 0.2s ease;
}
select:open .chevron {
transform: rotate(180deg);
}
}The markup puts a button with the chevron inside the select, next to selectedcontent, as in Fix 3 of the main guide. Before :open, developers toggled a class from JavaScript or faked it with :focus, which stuck in the rotated state when the picker closed via Escape. The pseudo-class tracks the real state, including keyboard dismissal, so the chevron never lies. One note: :open on select only exists where base-select does, so keep it inside the same @supports gate as everything else.
Animating the Picker Open and Close
The picker appears and disappears instantly by default. In Chromium you can animate it with the same discrete-transition pattern used for popovers, because the picker is top-layer content shown and hidden with display:
@supports (appearance: base-select) {
::picker(select) {
opacity: 0;
transform: translateY(-4px);
transition:
opacity 0.2s ease,
transform 0.2s ease,
display 0.2s allow-discrete,
overlay 0.2s allow-discrete;
}
select:open::picker(select) {
opacity: 1;
transform: none;
}
@starting-style {
select:open::picker(select) {
opacity: 0;
transform: translateY(-4px);
}
}
}Keep the motion small. A 4px rise and a quick fade reads as native; a 200px slide reads as a demo. I also respect prefers-reduced-motion here without exception: dropdown motion is decoration, and users who ask for reduced motion should get an instant open.
Dark Mode: Mind the Native Fallback
Your custom picker inherits whatever colors you set, so dark mode there is just more CSS. The trap is the fallback path from Fix 2: in Firefox, the picker is still the native popup, and a native popup on a dark page renders with a light background and dark text unless you tell the browser otherwise.
select {
color-scheme: light dark;
}color-scheme tells the browser which schemes the control is designed for, and the native picker chrome (background, scrollbars, highlight) follows the active scheme. It costs one line and it is the difference between a Firefox dropdown that looks intentional and one that flashes white on your dark UI. I set it on every select, base-select or not.
Styling Options Inside the Custom Picker
Once the opt-in is active, option elements stop being black boxes. In Chromium you can style their hover and checked states like any other element, which covers the two states users actually see:
@supports (appearance: base-select) {
option {
padding: 8px 12px;
border-radius: 8px;
}
option:hover {
background: rgb(79 70 229 / 0.08);
}
option:checked {
background: rgb(79 70 229 / 0.14);
font-weight: 600;
}
option::checkmark {
content: "✓";
color: #4f46e5;
}
}Two practical notes. First, the checkmark pseudo-element only renders in the custom picker; in the native fallback it is ignored, which is fine because the native popup draws its own. Second, keep option padding modest. Generous padding looks great in your design tool and turns into an endless scroll in a 12-option list on a laptop screen. I cap custom pickers with max-height and let them scroll rather than letting option styling push the popup off the viewport.
Frequently Asked Questions
Can I polyfill base-select for Firefox?
Not really. The pseudo-elements do not exist there, so there is nothing to polyfill against. The practical answer is the Fix 2 fallback: a well-styled native select. If you need pixel-identical dropdowns everywhere today, that is still a JavaScript component, with all its accessibility costs.
Does base-select break form submission or accessibility?
No, and that is the point. It is still a real <select>: keyboard navigation, screen readers, and form data all work natively. That is the big win over div-based dropdowns, which reimplement all of that badly. Two companion upgrades for the same form: make textareas grow with their content using field-sizing: content, and style validation to wait for user interaction with :user-valid / :user-invalid.
Why does my ::picker(select) rule do nothing in Chrome?
Two usual causes: the rule is missing appearance: base-select on the picker itself (Fix 1), or you are on Chrome older than 135. Check chrome://version before doubting your CSS.
Try it now: design the picker's elevation in our free Shadow Studio, copy the layered shadow values, and drop them into your ::picker(select) rule. A soft, realistic dropdown shadow is the fastest way to make the custom picker feel native to your design.