Skip to content
CZECH TH!S Custom websites
EN CS

What Used to Need JavaScript, CSS Now Does on Its Own

Two browser windows with dropdown menus linked by an arrow; code and a JavaScript logo on the left, CSS logo on the right.

Whenever a designer sends me a mockup with a custom dropdown or a little tooltip elegantly glued to a button, I have years of reflex behind me: take a breath and start explaining why this will cost more than it looks. This year I can finally start unlearning that reflex. Browsers have shipped things we developers have been talking about for years, and a lot of “complicated” elements from your mockups have become a few lines of ordinary work.

I want to describe this shift without jargon — because it changes what you can afford to design without holding yourself back in advance.

What actually happened

The browser makers — Apple, Google, Microsoft, Mozilla and Igalia — pick a shared list of features every year that they want working identically across all browsers. The initiative is called Interop, and the 2026 edition covers nineteen areas. Among them are exactly the things designers found most frustrating: automatic positioning of elements (anchor positioning), scroll-driven animations, and smooth transitions between pages.

That word “identically” is the key. Historically it was normal for a feature to work in Chrome but not Safari, so it had to be worked around with JavaScript anyway — and you got the answer “it's possible, but not worth it.” That in-between state is what's disappearing now.

A dropdown you can finally style

The oldest argument between a designer and a developer is about the select element — the plain dropdown list. The designer draws a list with icons, two-line entries and custom typography. The developer replies that the browser draws this element itself and it can't be changed.

The usual fix was to rebuild the whole list from scratch out of divs and JavaScript. It looked good, but keyboard control broke, screen readers stopped understanding it, mobile keyboards behaved oddly, and the project gained another library someone has to maintain.

Now there's the customizable select — a native dropdown you can style almost like anything else, while it keeps its accessibility, mobile behaviour and keyboard support. Chrome has it in stable, Safari has it in progress, Firefox is working on it. The practical upshot for you: design that list however you want. “It can't be done” is no longer the answer; at worst it's “it'll look simpler in older browsers” — and that's an entirely different conversation.

Tooltips and menus that place themselves

The second quiet change is positioning. Think of a tooltip on an icon, a dropdown in the header, or a help bubble next to a form field. In a mockup it's trivial — you just draw it next to the thing. In code it used to mean calculating coordinates in JavaScript, recalculating them on scroll, on window resize and on mobile, and deciding what happens when the bubble doesn't fit on screen.

CSS anchor positioning expresses all of that in one sentence: “attach to the bottom of this button, and if there's no room, flip above it.” Since early 2026 this works in every major browser. The change is bigger than it sounds — those calculations were precisely the source of the awkward bugs that only show up on the client's low-resolution laptop.

What this means for working together

I don't want to give the impression that everything is easy now. Two things remain just as demanding as before, and they're worth knowing.

States cost more than screens. Drawing one variant of a button takes minutes. But I have to handle hover, keyboard focus, loading, error, disabled, long text, missing text, and the German translation that's a third longer. When those states arrive in the mockup, you save us both a round of revisions.

Data doesn't behave the way it does in Figma. In a design, every user's name fits on one line and every product has an image. In reality, no. The most useful thing you can send me is a mockup in two versions: the ideal one, and the “ugly” one — long title, missing photo, empty list.

One last note on how to ask. Instead of “can this be done?”, try “how much extra work is this compared to the standard solution?” Almost everything can be done. The question is what it costs — and your developer will answer that far more precisely, and with far less resistance.

Conclusion

The line between “that's easy” and “that's expensive” moved in your favour this year. Things we spent years refusing on accessibility and maintenance grounds — custom dropdowns, cleverly placed tooltips, smooth page transitions — the browser now handles on its own. So if you've got into the habit of reining yourself in while designing, this is a good year to revisit that habit. And to ask your developer again.

← Back to the blog

[ LET'S BUILD ]

Send your design — get a price and deadline within 24 h.

Figma, XD, Sketch or PDF. No strings attached, no dev-speak, under your brand.