🎯 The premise 0:10
The talk opens by conceding every legitimate complaint: CSS is not a language you can build software with on its own, most CSS in the world is terrible, and you cannot opt out — you can avoid Java or relational databases for an entire career, but anything on the web goes through CSS.
He adds the 2026 corollary: that accumulated mess is what language models were trained on, which is one reason CSS remains a weak spot for them.
🧱 Why CSS is uniquely stuck 4:00
| Property of CSS | Consequence |
|---|---|
| Baked into browsers, not installed | There is no version to upgrade; billions of users depend on the browser continuing to work |
| Mistakes are permanent | Once shipped, a misleading default stays — the CSS Working Group keeps a wiki of things they would change with a time machine |
| Backwards compatibility is sacred | New behaviour has to be opt-in, even when the old behaviour was a bug |
| The web was supposed to be presentation-free | The founding principle was that publishers control structure and readers control rendering — which is why styling was bolted on later, awkwardly |
He traces the 1994 mailing list where everyone building websites was on one list, and someone asked whether an extra blank line in Mosaic was a bug — and got back: "It's not a bug. It's a rendering choice made by the browser. What can you do about it? Probably nothing."
@supports block, a keyword that says "yes, really, animate this". It looks like over-engineering until you learn that the alternative was breaking Stack Overflow, UPS and Alibaba Cloud (see the height-animation story below).
🔁 The fashion cycle 9:20
The border-radius origin story is the best explanation of how web standards actually happen. It used to cost real money: his first agency charged £15 per button, because Paul had to draw each one in Photoshop. Then someone worked out nine-slice scaling with tables and a wrapper, and the money tree died within a month.
| Stage | What happens |
|---|---|
| 1 | You see a site and ask "how did they do that?" |
| 2 | People reverse-engineer it and write blog posts |
| 3 | Snippets, plugins, an npm package, a React component |
| 4 | Browsers implement it natively |
| 5 | It is boring, and the cycle restarts with something else |
Current occupant of stage one to three: liquid glass. His prediction is a schedule — blog posts in a month, a React plugin in a couple of months, native in browsers this time next year, boring shortly after.
border-radius; Microsoft refused, then shipped an entire operating system without rounded corners to prove the point, then eventually caved. When a vendor decides a user preference is a fad, the users wait years for something trivial.
🏛 The three pillars shift 11:35
The web has always been structure (semantic HTML), presentation (CSS) and behaviour (JavaScript). The interesting movement is that things we filed under behaviour turn out to be presentation.
| Looks like behaviour | Actually is presentation |
|---|---|
| A password field that shakes when you get it wrong | Motion triggered by interaction — a usability concern, not business logic |
| An accordion expanding | Structure and disclosure, already modelled by HTML |
| A dropdown opening and closing | State that the browser already tracks |
| Calculating somebody's insurance policy | Genuinely behaviour — this is why the distinction matters |
📂 Accordions without JavaScript 13:47
<details> and <summary> have existed for over a decade — Chrome and IE early on, Firefox since about 2012 — while every component library ships an accordion built from nested <div>s.
| Need | How, natively |
|---|---|
| A disclosure widget | <details><summary>…</summary> plus content |
| Mutually exclusive accordions | Give each <details> the same name attribute — opening one closes the others (Baseline 2024) |
| Styling the open state | details[open], plus the ::details-content pseudo-element for the body |
| Removing the awkward first-child margin | & > *:first-child { margin-top: 0 } |
name attribute is the whole upgrade. Before it, a hand-built accordion had to exist because exclusivity was impossible without JavaScript. One attribute later, the native element does the same job with correct keyboard behaviour, focus management and semantics included — and the library component that rebuilt it becomes a liability rather than a convenience.
🪆 Native nesting 16:48
Nesting arrived natively in browsers, so details summary, details[open] and ::details-content can live inside one another, with & referring to the parent selector.
details {
summary { cursor: pointer }
&[open] { background: navy; color: white }
&::details-content { border: 1px solid silver }
}
📏 The nine-year bug 21:26
Everyone knows the trick that does not work: transition: height 5s on something whose height is auto. It fails because the browser cannot interpolate to an unknown value — the browser does not know what halfway between zero and unknown is.
What makes the story worth telling is why it stayed broken for roughly nine years:
| Reason | Detail |
|---|---|
| Ship the bug, get a workaround | Developers built their own solutions around the broken behaviour |
| Fixing it breaks them | David Baron catalogued sites that would break if the bug were simply fixed — Stack Overflow, Alibaba Cloud, Intuit, UPS, and more |
| So the fix must be opt-in | A new property rather than corrected behaviour |
The answer is interpolate-size: allow-keywords, set once at the root. The spec even carries the apology: if we had a time machine, this property would not need to exist.
interpolate-size as limited availability — it does not work in some widely used browsers, and at the time of the talk neither Firefox nor Safari implemented it. Safari is the only engine allowed on iOS, so an iPhone user does not escape the gap by installing Chrome. This is precisely why the demo pairs the feature with @supports.
🎚 Discrete transitions 23:49
With the height animating, a new problem appears: the panel opens smoothly but closes instantly, because the browser removes the content immediately and then sees no point animating something that is gone. The fix is transition-behavior: allow-discrete.
| Transition type | Example | Behaviour |
|---|---|---|
| Continuous | 20px → 50px | There is a mathematical path; interpolate it |
| Discrete | Comic Sans → Helvetica; visible → hidden | No meaningful halfway point. allow-discrete says: animate first, then switch |
interpolate-size for the size, transition-behavior: allow-discrete for the exit. MDN also still flags transition-behavior as limited availability, which is why the @supports wrapper below is not paranoia — it is the difference between a demo and something you ship.
🛡 Graceful degradation 27:54
@supports (interpolate-size: allow-keywords) { … } puts the entire enhancement in one block. Where it is supported, you get smooth motion; where it is not, the element snaps open — which is exactly how native disclosure behaved for the last fourteen years, and it remains usable.
🎨 Colour: names versus models 28:18
The named-colour history is comedy with a melancholy ending. The 216-ish web colours came from X11's rgb.txt, assembled from files found around the internet — one of which was somebody typing in a paint catalogue, another a box of Crayola crayons.
| Colour | Origin |
|---|---|
| Dodger blue | The Dodgers |
| Alice blue | Alice Roosevelt's favourite colour |
| Orange | Added to the spec because browsers already supported it and Eric Meyer used it in tutorials |
rebeccapurple | A memorial: Eric Meyer's daughter Rebecca, who died of a brain tumour aged six, wanting to be called Rebecca when she grew up |
Then the engineering problem: names are lovely and useless for computation. RGB is easy to compute and matches how eyes work (roughly), HSL is more human ("we need this cushion, but green"), and both got a syntax renovation — commas dropped so the space could be used for / transparency and for new colour models.
🌈 OKLCH and procedural palettes 35:05
OKLCH arrived in 2020, from Sweden, with a name that is exactly as modest as it sounds: lab was okay, so this is the okay-lab, in cylindrical form.
| Approach | Result |
|---|---|
| Rotate hue in RGB/HSL | Uneven intensity; some entries unreadable |
| Rotate hue in OKLCH | Consistent lightness and contrast across tints |
| Tetradic palette from one customer colour | Four related shades that cannot really go wrong, generated procedurally |
🔄 Animating variables 37:30
Custom properties are strings by default, so the browser cannot animate them — nothing happens until you declare what the value is. That is what @property does, and it is the first glimpse of CSS's type system.
| Most languages | CSS |
|---|---|
| int, string, float, boolean, pointer | angle, colour, length, z-index, geometry |
| Types reflect computation | Types reflect the medium — which is why 0deg → 360deg can be animated and "red" → "blue" cannot, unless declared as a colour |
Declare an angle property with inherits: true, animate it on the root with keyframes, and every element reading that variable moves — and can derive colour from the same angle, so the hue rotates at exactly the rate the geometry rotates.
🧱 Gradients as patterns 40:03
| Technique | What it produces |
|---|---|
| Hard colour stops in a conic gradient, tiled with a fixed background size | Checkerboard — useful for proving a PNG is genuinely transparent |
| Radial gradient with a fixed tile size | Polka dots |
| Two repeating linear gradients over a solid layer | Graph paper, with no image request |
background-blend-mode: saturation then a rainbow layer with a colour blend | A photograph recoloured to the current theme's dominant colour |
He mentions that the BBC News site once tinted its entire colour scheme to match the day's headline photograph — a trick that is now a few lines of CSS.
🔽 Customisable selects 43:33
The holy grail that was long impossible: a native <select> whose popup you can style. It was impossible because the dropdown was drawn by the operating system, not the browser — Windows 3.1 shipped a listbox with keyboard typeahead, tab order and arrow navigation that many hand-built web dropdowns still do not match.
The modern syntax keeps the native control and opts in explicitly: appearance: base-select, then style ::picker(select), option, ::checkmark and the arrow. A ::selectedcontent element mirrors whatever was chosen, which is how the "social post" demo works with nearly no JavaScript.
::picker as limited availability. Chrome has it; at the time of the talk Safari and Firefox had not shipped it. That does not make the code wrong — it makes it a paired enhancement: the page works today, and improves when the engines ship. His framing is the mature one: because this is standards-based, we know what it will look like when it arrives.
🤖 CSS versus the prompt 50:17
The section that makes this a 2026 talk. His observation is not "AI is bad at CSS" — it is about which parts of the work the model is good at.
| AI is strong when… | AI is weak when… |
|---|---|
| The thing has a name everyone agrees on: "Quake inverse square root", "identity map with a sliding window cache", "login with Entra ID" | The goal is a picture in your head that has no name: a specific visual arrangement you will only recognise when you see it |
| There is a shared vocabulary for the pattern | The requirement is taste: audience, vibe, which colours work together |
| You need a bug explained — he puts CSS into a model and gets a useful answer about 80% of the time | You need eight lines of layout code that mean exactly what you meant |
He also names the homogenisation effect, quoting the morning keynote: everyone using the same tools trained on the same data ends up building the same site — and the fix is personality in the prompt, which is another word for taste.
🐦 Ladybird, and the rest 55:37
The closing notes:
- Ladybird, the independent browser, said in January it would reach alpha in autumn 2026; at the time of the talk it was not there yet. His point stands regardless: because every part of a browser is covered by open specifications, a standards-compliant browser from outside the big four is now an engineering and funding problem rather than a permission problem.
- The CSS community is unusually healthy — at CSS Day, the people who write the specs, the people from WebKit and Mozilla, and the people building pages are in the same room, pulling in the same direction.
- What he did not cover: grid, flexbox, masonry, 3D transforms, view transitions, container queries — an hour only touched part of it.
pettiness. He installed a Haskell runtime to check. They had done it.
✅ Claims checked
| Claim | Verdict | Evidence |
|---|---|---|
<details>/<summary> are over a decade old | Correct | Long-standing HTML; Firefox since ~2012; MDN lists the element as Baseline widely available |
Mutually exclusive accordions via name, Baseline 2024 | Correct | Grouping <details name> is a recent, now widely shipped addition |
| Native CSS nesting is available | Correct | Shipped across engines; & refers to the parent selector |
You cannot transition to height: auto | Correct | Intrinsic sizes are not interpolable by default |
| The fix took roughly nine years and had to be opt-in because fixing it broke real sites | Correct in substance | David Baron's compatibility analysis; the spec for interpolate-size explicitly notes it would not exist with a time machine |
interpolate-size: allow-keywords is the opt-in | Correct — and still limited | MDN marks it limited availability; at the talk it was unsupported in Firefox and Safari |
transition-behavior: allow-discrete fixes the instant close | Correct — with a caveat | MDN also flags transition-behavior as limited availability, so pair it with @supports as the talk does |
| Styling the select popup is not yet cross-browser | Correct | ::picker is limited availability; Chrome has it, Safari and Firefox had not shipped at the time |
| OKLCH dates from 2020 and improves on Lab for perceptual uniformity | Correct | Published by Björn Ottosson in 2020 |
rebeccapurple is a memorial for Rebecca Meyer | Correct | Added to CSS Color 4 at the request of the working group; Eric Meyer asked for "rebecca", not "becca" |
@property is required to animate a custom property | Correct | Unregistered custom properties have no type, so there is nothing to interpolate |
| CSS animations can run off the main thread | Correct in practice | Compositor/GPU-driven for animatable properties; JS animation competes for the single main thread |
Named web colours came from X11's rgb.txt, ultimately from paint catalogues and crayons | His telling; accurate in outline | The X11 colour list's provenance is folkloric — the specific paint-catalogue and Crayola claims are the entertaining version, not a documented chain |
| Ladybird planned alpha in autumn 2026 and had not reached it | Correct as stated | His characterisation at the time of the talk; the project has been building in public |
Chipotle chatbot used to write Haskell in a repo named pettiness | Anecdote | Told on stage as a real event, verified by him in person; not independently confirmed here |
Basis note. Built from the full 1:00:27 recording. Every feature claim was checked against MDN's current support status, which matters more here than in most articles: three of the techniques demonstrated — interpolate-size, transition-behavior and ::picker — are still marked limited availability, which the talk itself acknowledges and designs around with @supports.
🔑 Key takeaways
- The CSS you rejected ten years ago is not the CSS you have. If your opinion is that old, it is a memory, not an assessment.
- CSS rots from fear, not ignorance. Someone breaks something unrelated, everyone stops editing, and fifteen button styles accumulate.
- Mistakes in CSS are permanent because it ships inside browsers — which is why every improvement arrives opt-in.
- Ask whether it is presentation or business logic. If it makes the system usable, the browser should own it.
- Stop rebuilding accordions.
<details>with a sharednameis a mutually exclusive accordion with correct keyboard behaviour, free. interpolate-sizeplustransition-behavior: allow-discreteis the recipe for animated disclosure — wrap it in@supportsuntil support widens.- Enhance, don't replace, and degradation is free: unsupported motion snaps instead of breaking, and the site improves when engines ship.
- Generate palettes in a perceptual space. Rotating hue in RGB gives uneven intensity; OKLCH gives tints with matched contrast.
- Let users choose one colour; derive the rest procedurally. Control where it matters, automate where taste cannot go wrong.
- Declare the type of a custom property with
@propertyor it cannot animate — CSS types are angles, colours and lengths, not ints and strings. - Hard stops and tiling turn gradients into patterns — checkerboards, polka dots, graph paper, all with no image requests.
- Customisable selects exist but are still limited availability; the native listbox already has accessibility most hand-built dropdowns lack.
- AI is strongest where a name exists and weakest at the last mile of a visual intention; the compact notation still beats the prompt for precision.
- Decorative motion belongs on the GPU, not on the thread doing the work.
🔗 Resources
- The talk — Dylan Beattie, "Do It With Style: Rethinking CSS", NDC Oslo 2026, 1:00:27
- MDN: interpolate-size · transition-behavior · ::picker — the three to check before shipping
- caniuse.com — what he tells the audience to use when they want to know whether a technique is a good idea yet
- Ladybird — the independent browser he recommends watching
⏱ Timestamp index
&