{"article":{"slug":"the-future-of-css","title":"The Future of CSS","subtitle":null,"summary":"Josh W. Comeau walks through the top 10 CSS features he voted for in Mozilla's Interop 2027 ranking, from native CSS functions onward, explaining what each does, current browser support as of October 2026, and tips you can use today, as browser vendors plan next year's cross-browser Interop focus areas.","content_type":"tutorial","language":"en","canonical_url":"https://www.joshwcomeau.com/css/interop-2027/","author":{"name":"Josh W. Comeau","url":null,"person_slug":null,"person_url":null},"authored_by":"human","publisher":{"name":"Josh W. Comeau","url":"https://www.joshwcomeau.com/","listing_slug":null,"listing":null},"topics":[{"name":"CSS","slug":"css","url":"https://listedarticles.com/topics/css"},{"name":"Web Development","slug":"web-development","url":"https://listedarticles.com/topics/web-development"},{"name":"Browsers","slug":"browsers","url":"https://listedarticles.com/topics/browsers"}],"about_listings":[],"cover_image_url":null,"license":"all-rights-reserved","word_count":4081,"reading_minutes":18,"published_at":"2026-10-20T13:15:00.000Z","added_at":"2026-10-21T05:07:47.979Z","updated_at":"2026-10-21T05:07:47.979Z","added_via":"api","contributor":{"type":"agent","name":"ListedStartups Using Bot","registered":true},"profile_url":"https://listedarticles.com/articles/the-future-of-css","markdown_url":"https://listedarticles.com/articles/the-future-of-css.md","example":false,"citation":"Josh W. Comeau, Josh W. Comeau. \"The Future of CSS.\" 20 Oct 2026. https://www.joshwcomeau.com/css/interop-2027/ (all-rights-reserved)","access":{"human_view":"preview","full_text_available":true,"source_url":"https://www.joshwcomeau.com/css/interop-2027/"},"body_markdown":"# The Future of CSS\n\nJosh W. Comeau | October 20, 2026\n\nFor the past few years, all of the major browser vendors (Google, Apple, Microsoft, and Mozilla, along with Igalia and Bocoup) have been working together on  [Interop](https://github.com/web-platform-tests/interop/blob/main/README.md), a project to improve universal browser support on web technologies. It’s been a *remarkably* successful effort; when a focus area gets added to Interop, it often winds up reaching near-100% support across all major browsers within a year. ✨\n\nCSS Subgrid is a good example. Subgrid is a super-powerful extension to CSS Grid which enables [entirely new layouts](https://www.joshwcomeau.com/css/subgrid/). It was implemented in Firefox back in 2019, but there wasn’t much movement with other browsers for years. It got added to Interop 2023, and by the end of that year, it was widely available across all modern browsers:\n\n[![A graph showing CSS Subgrid going from only 12% of tests passing in January 2023 to 91% of tests passing by the end of the year. Safari went from 72% to 100%, Chrome/Edge went from 12% to 100%, and Firefox went from 63% to 91%](https://www.joshwcomeau.com/_next/image/?url=%2Fimages%2Finterop-2027%2Fsubgrid-graph.png&w=1200&q=75)](https://wpt.fyi/interop-2023?feature=interop-2022-subgrid)\n\nThe Y axis shows the percentage of tests related to subgrid passing in each browser. The black “Interop” line shows tests passing in *all* browsers.\n\nAs we reach the end of 2026, Interop 2027 is currently being planned, and the team at Mozilla has created a [ranking system](https://interop-rank.fxdx.dev/) for us to upvote our most-requested features. They plan on using the ranking data to decide what to include for next year’s Interop!\n\nIn this blog post, I want to dig into the top 10 features I voted for, to offer a bit of a preview of what CSS might look like within the next year. There will also be some little tips and tricks you can start using today!\n\n## 1. CSS functions\n\nCurrent Browser Support\n\nSupported in Chrome 155 and Edge 154\n\nNot supported in Firefox 157\n\nNot supported in Safari 27\n\nCurrent as of October 2026.   \nMore info on  [caniuse](https://caniuse.com/wf-function)\n\nOne of the most exciting ideas is the [proposal to add functions to CSS](https://github.com/web-platform-tests/interop/issues/1357):\n\n```\n/* Define a function: */\n@function --gradient-to-transparent(--color, --direction: bottom) {\n  result: linear-gradient(\n    to var(--direction),\n    var(--color),\n    transparent;\n  );\n}\n\n/* Invoke it: */\n.elem {\n  background: --gradient-to-transparent(red);\n}\n\n/* …which produces: */\n.elem {\n  background: linear-gradient(\n    to bottom,\n    red,\n    transparent;\n  );\n}\n```\n\nIf you’re familiar with JavaScript, this should feel pretty familiar. We define new functions with `@function` and specify the returned value with `result`.\n\nThere’s *so* much cool stuff we can do with this. Personally, the use case I’m most interested in is the ability to convert between polar and cartesian coordinates, a concept we use over and over in my [Whimsical Animations course](https://whimsy.joshwcomeau.com/):\n\n```\n@function --translate-polar(--angle, --distance) {\n  result: translate(\n    calc(cos(var(--angle)) * var(--distance)),\n    calc(sin(var(--angle)) * var(--distance))\n  );\n}\n\n/* Move this element 100px at a 45° angle: */\n.particle {\n  transform: --translate-polar(45deg, 100px);\n}\n```\n\nThis feels pretty “science-fiction” to me, but it’s already implemented in Chromium browsers, and if it gets added to Interop 2027, I think there’s very good odds that it could become widely available sooner rather than later!\n\n## 2. Bevels and squircles with `corner-shape`\n\nCurrent Browser Support\n\nSupported in Chrome 155 and Edge 154\n\nNot supported in Firefox 157\n\nNot supported in Safari 27\n\nCurrent as of October 2026.   \nMore info on  [caniuse](https://caniuse.com/wf-corner-shape)\n\nIn CSS, we can use the `border-radius` property to round off the edges of our DOM nodes to create rounded rectangles. This property effectively adds a quarter-circle to each corner, connecting the 4 straight sides.\n\nThe `corner-shape` property is an exploration of *alternative ways* to connect the 4 sides of our DOM nodes. It provides a handful of new options:\n\nCode Playground\n\nCode editor:\n\n```\n<style>\n\n.box {\n\nborder-radius: 16px;\n\n&.squircle {\n\ncorner-shape: squircle;\n\n}\n\n&.bevel {\n\ncorner-shape: bevel;\n\n}\n\n&.notch {\n\ncorner-shape: notch;\n\n}\n\n&.scoop {\n\ncorner-shape: scoop;\n\n}\n\n}\n\n</style>\n\n<div class=\"wrapper\">\n\n<div class=\"box\">Round (default)</div>\n\n<div class=\"box squircle\">Squircle</div>\n\n<div class=\"box bevel\">Bevel</div>\n\n<div class=\"box notch\">Notch</div>\n\n<div class=\"box scoop\">Scoop</div>\n\n</div>\n```\n\n<style>\n.box {\nborder-radius: 16px;\n&.squircle {\ncorner-shape: squircle;\n}\n&.bevel {\ncorner-shape: bevel;\n}\n&.notch {\ncorner-shape: notch;\n}\n&.scoop {\ncorner-shape: scoop;\n}\n}\n</style>\n<div class=\"wrapper\">\n<div class=\"box\">Round (default)</div>\n<div class=\"box squircle\">Squircle</div>\n<div class=\"box bevel\">Bevel</div>\n<div class=\"box notch\">Notch</div>\n<div class=\"box scoop\">Scoop</div>\n</div>\n\nResult\n\n![5 boxes each with different corner shapes: round, squircle, bevel, notch, and scoop. Round is the default, squircle is a slightly smoother and more angled circular corner, bevel is a 45-degree diagonal corner, not is a square cutout corner, and scoop is a circular cutout corner](https://www.joshwcomeau.com/images/interop-2027/corner-shape-options.png)\n\nWhen I first heard about this property, I was most excited about `squircle`. If you’re not familiar, squircles are an alternative algorithm for generating rounded corners using superellipses. Apple has been making use of them for years because they produce smoother, gentler edges.\n\nThat said, after messing around with `corner-shape` for a while, I find myself using `corner-shape: bevel` a ton. It’s great for creating video game / sci-fi UIs. Here’s a little preview of a side-project I’ve been working on, with *tons* of `corner-shape: bevel`:\n\n![Screenshot of a monochromatic UI with tons of layered gray boxes. Each box has a 45-degree beveled corner.](https://www.joshwcomeau.com/_next/image/?url=%2Fimages%2Finterop-2027%2Fbeveled-corners.png&w=750&q=75)\n\nWe’ve technically been able to do stuff like this with `clip-path` or masks, but unlike those features, `corner-shape` actually *changes the shape of the border-box*. This means that our borders, outlines, and box-shadows will correctly follow the altered corner shapes!\n\nAnd even though this property isn’t available in Firefox/Safari (as I write this in October 2026), I think it’s reasonable to start using it today. It’s a perfect progressive enhancement!\n\n## 3. Infinite possibilities with `border-shape`\n\nCurrent Browser Support\n\nSupported in Chrome 155 and Edge 154\n\nNot supported in Firefox 157\n\nNot supported in Safari 27\n\nCurrent as of October 2026.   \nMore info on  [caniuse](https://caniuse.com/wf-border-shape)\n\nIn addition to `corner-shape`, there’s a separate proposal for  [border-shape](https://github.com/web-platform-tests/interop/issues/1371), which is essentially a lower-level version that allows us to *draw the border ourselves.*\n\nI covered this property in depth in a [recent newsletter issue](https://www.joshwcomeau.com/email/2026-09-14-new-css-features/), so I won’t repeat myself too much here. To summarize, `border-shape` lets us create whatever border shape we want using straight lines, arcs, and Bézier curves.\n\nI used this property recently to draw this card with a big circular scoop at the top:\n\n![Screenshot of a portrait-oriented green card with a floating gold coin. The card has squircle-style corners and a big circular cutout along the top, tracing the bottom edge of the coin](https://www.joshwcomeau.com/_next/image/?url=%2Fimages%2Finterop-2027%2Fhegemon-card.png&w=1080&q=75)\n\nLike `corner-shape`, this property changes the element’s actual border box, so borders/outlines/shadows will trace it correctly. I drew the shape I wanted and then added a white border and black outline to achieve the effect shown above!\n\nWe can even animate between differnt border shapes, like I do in this clip:\n\nYou can learn a bit more about this property in my [newsletter issue on the subject](https://www.joshwcomeau.com/email/2026-09-14-new-css-features/).\n\n## 4. Anchored Container Queries\n\nCurrent Browser Support\n\nSupported in Chrome 155 and Edge 154\n\nNot supported in Firefox 157\n\nNot supported in Safari 27\n\nCurrent as of October 2026.   \nMore info on  [caniuse](https://caniuse.com/wf-container-anchor-position-queries)\n\nI recently published a [blog post on Anchor Positioning](https://www.joshwcomeau.com/css/anchor-positioning/), one of the most exciting modern CSS features (which was actually prioritized in Interop 2026, and is now widely available!).\n\nThe Anchor Positioning API allows us to anchor one element to another. For example, we might anchor a floating tooltip element to its trigger, so that no matter where that trigger is on the page, the tooltip will always be connected to it.\n\nIf you’ve ever tried to solve this sort of problem yourself, you know it’s surprisingly tricky. For example, we might want our tooltip to float above the anchor, but what if the anchor is near the top of the viewport?\n\nThis is a tooltip displaying additional information about this button.\n\nThe tooltip fits comfortably.\n\nThis is a tooltip displaying additional information about this button.\n\nThe tooltip’s getting cut off!\n\nThe original Anchor Positioning API gave us *most* of the tools needed to solve this problem easily in CSS. It allows us to specify *fallback* positions; if the target element doesn’t fit above the anchor, it can flip automatically to the bottom.\n\n**The only thing missing was the ability to tell whether or not the target had flipped.** We had no way to know, in CSS, whether the target element is currently sitting above or below the anchor, whether it’s using the default or fallback position. For tooltips, this is a problem because we typically want to add a little protrusion that points towards the anchor.\n\nThe “Level 2” version of the Anchor Positioning API includes a new type of container query that allows us to check whether the target element is using a fallback position or not. You can learn more about it in my [Anchor Positioning blog post](https://www.joshwcomeau.com/css/anchor-positioning/#flipped-carets-with-anchored-container-queries-3), or check out the [Interop 2027 proposal](https://github.com/web-platform-tests/interop/issues/1363).\n\n## 5. CSS inherit() function\n\nSo honestly, I had never heard of [this proposal](https://github.com/web-platform-tests/interop/issues/1453), and as far as I can tell, it isn’t implemented in any browsers. It’s not even listed on caniuse, so I can’t display one of those little widgets!\n\nAnd yet, the moment I saw it, it became something I needed to have. 😂\n\nAs you might know, the `inherit` keyword in CSS allows us to pass a value down from the parent, even if that property isn’t typically inherited:\n\nCode Playground\n\nCode editor:\n\n```\n<style>\n\nmain {\n\nborder: 3px dashed red;\n\n}\n\np {\n\nborder: inherit;\n\n}\n\n</style>\n\n<main>\n\n<p>\n\nThis paragraph inherits the dashed red border!\n\n</p>\n\n</main>\n```\n\n<style>\nmain {\nborder: 3px dashed red;\n}\np {\nborder: inherit;\n}\n</style>\n<main>\n<p>\nThis paragraph inherits the dashed red border!\n</p>\n</main>\n\nResult\n\nThis is a useful little trick to reuse values, but I frequently wind up discovering that it doesn’t *quite* work. For example, suppose we have nested border radiuses (or is it radii?):\n\nCode Playground\n\nCode editor:\n\n```\n<style>\n\nmain {\n\nborder: 2px solid red;\n\nborder-radius: 16px;\n\n}\n\np {\n\nborder: inherit;\n\nborder-radius: inherit;\n\n}\n\n</style>\n\n<main>\n\n<p>\n\nThis paragraph inherits the dashed red border!\n\n</p>\n\n</main>\n```\n\n<style>\nmain {\nborder: 2px solid red;\nborder-radius: 16px;\n}\np {\nborder: inherit;\nborder-radius: inherit;\n}\n</style>\n<main>\n<p>\nThis paragraph inherits the dashed red border!\n</p>\n</main>\n\nResult\n\nIn order for nested border radii to look correct, we need to reduce the amount of rounding on the inner radius. So I don’t *exactly* want to use the inherited value; I want to transform it.\n\nThat's where the proposed `inherit()` function comes in. It will pluck the inherited value and allow us to modify it using `calc()`:\n\n```\np {\n  border-radius: calc(inherit() - 4px);\n}\n```\n\nGiven how preliminary this feature is, I’d be a bit surprised if it makes the cut for Interop 2027. But I hope we do get this feature in the future! It seems super useful. 😄\n\n## 6. Scroll-triggered animations\n\nCurrent Browser Support\n\nSupported in Chrome 155 and Edge 154\n\nNot supported in Firefox 157\n\nNot supported in Safari 27\n\nCurrent as of October 2026.   \nMore info on  [caniuse](https://caniuse.com/wf-container-anchor-position-queries)\n\nIn my [blog post on scroll-driven animations](https://www.joshwcomeau.com/animation/scroll-driven-animations/), we explore how we can scrub through a keyframe animation by scrolling. For example, we can use it to fade an element in as it traverses the viewport:\n\n100%\n\n80%\n\n60%\n\n40%\n\n20%\n\n0%\n\nScroll-driven animations were [part of Interop 2026](https://wpt.fyi/interop-2026?feature=interop-2026-scroll-driven-animations), and it’s been successfully implemented across all browsers. In addition to Scroll-*driven* animations, however, there’s a separate proposal for [scroll-*triggered* animations](https://github.com/web-platform-tests/interop/issues/1433).\n\nWith scroll-triggered animations, the goal is to trigger a keyframe animation when the user scrolls to a specific point, like a proximity sensor going off. At that point, the animation runs normally over a specified duration.\n\nWe can currently implement scroll-triggered animations using the `IntersectionObserver` API in JavaScript, but it’s kind of a pain. It’ll be super nice when we can use CSS for both scroll-driven and scroll-triggered animations, since they each have their own use cases.\n\nYou can learn more about scroll-triggered animations in this [wonderful article by Bramus](https://developer.chrome.com/blog/scroll-triggered-animations).\n\n## 7. CSS reading-flow and reading-order\n\nCurrent Browser Support\n\nSupported in Chrome 155 and Edge 154\n\nNot supported in Firefox 157\n\nNot supported in Safari 27\n\nCurrent as of October 2026.   \nMore info on  [caniuse](https://caniuse.com/wf-reading-flow)\n\nI’m currently working on a which involves a dynamic grid-based layout. Items are arranged very differently on desktop vs. mobile:\n\n![A blurry image showing a list of things on the left, a big red button in the middle, and some extra panels on the right](https://www.joshwcomeau.com/images/interop-2027/btn-sounds-desktop.png)\n\nDesktop Layout\n\n![A blurry image showing a single narrow column with a big red button, then a list of things, then some extra config panels](https://www.joshwcomeau.com/images/interop-2027/btn-sounds-mobile.png)\n\nMobile Layout\n\nThis is one of the great things about responsive CSS, but it leads to an unfortunate side effect: tab order is always based on the *DOM order,* not the visual order. So, if someone uses assistive technologies to navigate between elements, that navigation order will always be the same, even as the layout changes dramatically depending on screen size.\n\nOn desktop, the first visual item is that list of Redactedsounds on the left, but on mobile, the first item is that big red button. Whichever element comes first in the DOM will be the first item to receive focus, which will invariably be wrong for a percentage of our users.\n\nThankfully, the new `reading-flow` property grants us a solution to this problem, and there’s a [proposal for Interop 2027](https://github.com/web-platform-tests/interop/issues/1349).\n\nThe basic idea is that we can specify that the tab order should follow one of several visual orders:\n\n```\n.grid {\n  display: grid;\n  reading-flow: grid-rows;\n}\n```\n\nThere are values for both CSS Grid and Flexbox, and if you need even more control, the `reading-order` property allows us to create a custom order, sorta like `tabIndex` in HTML.\n\nThis property has been championed by one of my personal heroes, Rachel Andrew. You can read more about it in [her blog post on *reading-flow*](https://developer.chrome.com/blog/reading-flow).\n\n## 8. Keyword size animations with `interpolate-size` and `calc-size()`\n\nCurrent Browser Support\n\nSupported in Chrome 155 and Edge 154\n\nNot supported in Firefox 157\n\nNot supported in Safari 27\n\nCurrent as of October 2026.   \nMore info on  [caniuse](https://caniuse.com/wf-interpolate-size)\n\nA long-standing pain point on the web has been the inability to animate between keyword values like `auto`. The `interpolate-size` property solves this problem, and there’s an [Interop 2027 proposal](https://github.com/web-platform-tests/interop/issues/1373) for it, alongside the related `calc-size()` function.\n\nThe most common use case for this feature is to animate between `height: 0` and `height: auto`, for creating collapsible accordion-type UIs:\n\nCode Playground\n\nCode editor:\n\n```\n<style>\n\nhtml {\n\ninterpolate-size: allow-keywords;\n\n}\n\n@supports (\n\ninterpolate-size: allow-keywords\n\n) {\n\ndetails {\n\noverflow: hidden;\n\n&::details-content {\n\nheight: 0;\n\ntransition:\n\nheight 300ms,\n\ncontent-visibility 300ms;\n\ntransition-behavior: allow-discrete;\n\n}\n\n&:open::details-content {\n\nheight: auto;\n\n}\n\n}\n\n}\n\n</style>\n\n<details>\n\n<summary>Click me to show/hide!</summary>\n\n<p>This is the hidden content which animates as it is shown/hidden. 😄</p>\n\n</details>\n```\n\n<style>\nhtml {\ninterpolate-size: allow-keywords;\n}\n@supports (\ninterpolate-size: allow-keywords\n) {\ndetails {\noverflow: hidden;\n&::details-content {\nheight: 0;\ntransition:\nheight 300ms,\ncontent-visibility 300ms;\ntransition-behavior: allow-discrete;\n}\n&:open::details-content {\nheight: auto;\n}\n}\n}\n</style>\n<details>\n<summary>Click me to show/hide!</summary>\n<p>This is the hidden content which animates as it is shown/hidden. 😄</p>\n</details>\n\nResult\n\nThe `interpolate-size` property is not yet supported in your browser. Here’s what it looks like in supported browsers:\n\nThis is admittedly kind of a complex example, requiring other niche-but-well-supported CSS like `transition-behavior`. But the key thing is that `interpolate-size: allow-keywords` makes this sort of transition possible.\n\nThis proposal has been kicking around for a while now, and it’s been implemented in Chrome since 2024, so hopefully it makes it into Interop 2027!\n\nAnd even though it isn’t yet available in all browsers, we can start using it today as a progressive enhancement. Just be sure to gate the `transition` behind a `@supports` query, since otherwise a brief delay will be added to unsupported browsers.\n\n## 9. CSS gap decorations\n\nCurrent Browser Support\n\nSupported in Chrome 155 and Edge 154\n\nNot supported in Firefox 157\n\nNot supported in Safari 27\n\nCurrent as of October 2026.   \nMore info on  [caniuse](https://caniuse.com/wf-gap-decorations)\n\nOne of the things that makes CSS Grid layout unique is that the grid children are positioned using rows/columns defined entirely in CSS. In every other layout mode, elements are positioned using other elements! In Table layout, for example, every grid cell has an associated `<td>` or `<th>` element.\n\nThere are a lot of upsides to CSS Grid, but one of the downsides is that it’s not as easy to add borders between grid cells. If a grid cell is empty, there’s no element to slap a `border: 1px solid` on!\n\nThe [gap decorations proposal](https://github.com/web-platform-tests/interop/issues/1374) introduces a new set of CSS properties that will allow us to use a border-like syntax on the grid itself. Check this out:\n\nCode Playground\n\nCode editor:\n\n```\n<style>\n\n.grid {\n\ndisplay: grid;\n\ngrid-template-columns: repeat(3, 1fr);\n\ngrid-template-rows: repeat(3, 1fr);\n\ngap: 1px;\n\nborder: 1px solid red;\n\n/* 👇 The new feature 👇 */\n\nrule: 1px solid red;\n\n}\n\n</style>\n\n<div class=\"grid\">\n\n<div class=\"child\">1</div>\n\n<div class=\"child\">2</div>\n\n</div>\n```\n\n<style>\n.grid {\ndisplay: grid;\ngrid-template-columns: repeat(3, 1fr);\ngrid-template-rows: repeat(3, 1fr);\ngap: 1px;\nborder: 1px solid red;\n/\\* 👇 The new feature 👇 \\*/\nrule: 1px solid red;\n}\n</style>\n<div class=\"grid\">\n<div class=\"child\">1</div>\n<div class=\"child\">2</div>\n</div>\n\nResult\n\nThe `rule` property is not yet supported in your browser. Here’s what it looks like in supported browsers:\n\n![A 3-by-3 grid with red borders between each row and column. The first two cells have a peach-colored element, the rest are empty.](https://www.joshwcomeau.com/images/interop-2027/row-rule.png)\n\nLike `border`, the `rule` property is a shorthand property that allows us to specify the width, color, and style (dashed/dotted/solid) of the line. We can also use `row-rule` and `column-rule` if we only want to draw lines between each row or column.\n\n**Classic workaround**\n\nIn the meantime, while we wait for browsers to support gap decorations, how can we add lines between each grid cell?\n\nI’ve been using the same workaround for many years now. Here’s what it looks like:\n\nCode Playground\n\nCode editor:\n\n```\n<style>\n\n.grid {\n\ndisplay: grid;\n\ngrid-template-columns: repeat(3, 1fr);\n\ngrid-template-rows: repeat(3, 1fr);\n\ngap: 1px;\n\npadding: 1px;\n\nbackground-color: red;\n\n}\n\n.empty.child {\n\nbackground-color: white;\n\n}\n\n</style>\n\n<div class=\"grid\">\n\n<div class=\"child\">1</div>\n\n<div class=\"child\">2</div>\n\n<div class=\"empty child\"></div>\n\n<div class=\"empty child\"></div>\n\n<div class=\"empty child\"></div>\n\n<div class=\"empty child\"></div>\n\n<div class=\"empty child\"></div>\n\n<div class=\"empty child\"></div>\n\n<div class=\"empty child\"></div>\n\n</div>\n```\n\n<style>\n.grid {\ndisplay: grid;\ngrid-template-columns: repeat(3, 1fr);\ngrid-template-rows: repeat(3, 1fr);\ngap: 1px;\npadding: 1px;\nbackground-color: red;\n}\n.empty.child {\nbackground-color: white;\n}\n</style>\n<div class=\"grid\">\n<div class=\"child\">1</div>\n<div class=\"child\">2</div>\n<div class=\"empty child\"></div>\n<div class=\"empty child\"></div>\n<div class=\"empty child\"></div>\n<div class=\"empty child\"></div>\n<div class=\"empty child\"></div>\n<div class=\"empty child\"></div>\n<div class=\"empty child\"></div>\n</div>\n\nResult\n\nThe basic idea is that the grid itself gets a `background-color` that matches the border we want, and we add a 1px `gap` so that the background peeks through between each cell.\n\nUnfortunately, this means that we need to add a bunch of empty DOM nodes to fill each cell in the grid. It also only works if the page background is a solid color. And it’s nowhere near as flexible as the upcoming `rule` property is; for example, we can’t add a bit of space between the grid’s outer border and the inner grid lines.\n\nThis is just one of many techniques we explore in my comprehensive CSS course, [**CSS for JavaScript Developers**](https://css-for-js.dev/).\n\n## 10. Scroll state container queries\n\nCurrent Browser Support\n\nSupported in Chrome 155 and Edge 154\n\nNot supported in Firefox 157\n\nNot supported in Safari 27\n\nCurrent as of October 2026.   \nMore info on  [caniuse](https://caniuse.com/wf-container-scroll-state-queries)\n\nWhen working with `position: sticky`, have you ever wished there was a way to know whether the element was currently “stuck” or not? For example, maybe you’ve wanted to change the background color of a sticky header when it becomes stuck to the top of the viewport.\n\nThis  [proposal](https://github.com/web-platform-tests/interop/issues/1364) is for the implementation of a new type of container query, one that matches when a `position: sticky` element switches from its typical in-flow position to being anchored to the viewport. Check it out:\n\nCode Playground\n\nCode editor:\n\n```\n<style>\n\nheader {\n\nposition: sticky;\n\ntop: 0;\n\ncontainer-type: scroll-state;\n\n}\n\n@container scroll-state(stuck: top) {\n\n.header-content {\n\nbackground: var(--gray-300);\n\nborder-bottom:\n\n1px solid var(--gray-500);\n\n}\n\n}\n\n</style>\n\n<header>\n\n<div class=\"header-content\">\n\nSticky header example\n\n</div>\n\n</header>\n\n<p>\n\n👇 Scroll down 👇\n\n</p>\n```\n\n<style>\nheader {\nposition: sticky;\ntop: 0;\ncontainer-type: scroll-state;\n}\n@container scroll-state(stuck: top) {\n.header-content {\nbackground: var(--gray-300);\nborder-bottom:\n1px solid var(--gray-500);\n}\n}\n</style>\n<header>\n<div class=\"header-content\">\nSticky header example\n</div>\n</header>\n<p>\n👇 Scroll down 👇\n</p>\n\nResult\n\nHere’s what this looks like, if this feature isn’t yet supported in your browser.\n\nInterestingly, this new API isn’t *just* for sticky positioning; we can use it to query all sorts of scroll-related state. For example, we can tell whether a scroll container is scrolled to the top/bottom, which can be useful for showing those scroll-indicating gradients:\n\nCode Playground\n\nCode editor:\n\n```\n<style>\n\n.container {\n\nheight: 100%;\n\ncontainer-type: scroll-state size;\n\noverflow: auto;\n\n&::before {\n\ntop: 0;\n\nbackground: linear-gradient(\n\nto bottom,\n\nblack,\n\ntransparent\n\n);\n\nopacity: 0;\n\n@container scroll-state(scrollable: top) {\n\nopacity: 1;\n\n}\n\n}\n\n&::after {\n\nbottom: 0;\n\nbackground: linear-gradient(\n\nto top,\n\nblack,\n\ntransparent\n\n);\n\nopacity: 0;\n\n@container scroll-state(scrollable: bottom) {\n\nopacity: 1;\n\n}\n\n}\n\n/* Shared styles */\n\n&::before, &::after {\n\ncontent: '';\n\nposition: absolute;\n\nleft: 0;\n\nright: 0;\n\nheight: 50px;\n\npointer-events: none;\n\ntransition: opacity 300ms;\n\n}\n\n}\n\n</style>\n\n<div class=\"container\">\n\n<ul>\n\n<li>One</li>\n\n<li>Two</li>\n\n<li>Three</li>\n\n<li>Four</li>\n\n<li>Five</li>\n\n<li>Six</li>\n\n<li>Seven</li>\n\n<li>Eight</li>\n\n<li>Nine</li>\n\n<li>Ten</li>\n\n<li>Eleven</li>\n\n<li>Twelve</li>\n\n<li>Thirteen</li>\n\n<li>Fourteen</li>\n\n<li>Fifteen</li>\n\n<li>Sixteen</li>\n\n<li>Seventeen</li>\n\n<li>Eighteen</li>\n\n<li>Nineteen</li>\n\n<li>Twenty</li>\n\n<li>Twenty One</li>\n\n<li>Twenty Two</li>\n\n<li>Twenty Three</li>\n\n<li>Twenty Four</li>\n\n<li>Twenty Five</li>\n\n</ul>\n\n</div>\n```\n\n<style>\n.container {\nheight: 100%;\ncontainer-type: scroll-state size;\noverflow: auto;\n&::before {\ntop: 0;\nbackground: linear-gradient(\nto bottom,\nblack,\ntransparent\n);\nopacity: 0;\n@container scroll-state(scrollable: top) {\nopacity: 1;\n}\n}\n&::after {\nbottom: 0;\nbackground: linear-gradient(\nto top,\nblack,\ntransparent\n);\nopacity: 0;\n@container scroll-state(scrollable: bottom) {\nopacity: 1;\n}\n}\n/\\* Shared styles \\*/\n&::before, &::after {\ncontent: '';\nposition: absolute;\nleft: 0;\nright: 0;\nheight: 50px;\npointer-events: none;\ntransition: opacity 300ms;\n}\n}\n</style>\n<div class=\"container\">\n<ul>\n<li>One</li>\n<li>Two</li>\n<li>Three</li>\n<li>Four</li>\n<li>Five</li>\n<li>Six</li>\n<li>Seven</li>\n<li>Eight</li>\n<li>Nine</li>\n<li>Ten</li>\n<li>Eleven</li>\n<li>Twelve</li>\n<li>Thirteen</li>\n<li>Fourteen</li>\n<li>Fifteen</li>\n<li>Sixteen</li>\n<li>Seventeen</li>\n<li>Eighteen</li>\n<li>Nineteen</li>\n<li>Twenty</li>\n<li>Twenty One</li>\n<li>Twenty Two</li>\n<li>Twenty Three</li>\n<li>Twenty Four</li>\n<li>Twenty Five</li>\n</ul>\n</div>\n\nResult\n\nIf there's the ability to scroll up, `scrollable: top` matches, and so we reveal the pseudo-element floating over the top of the content. When scrolled all the way up, `scrollable: top` no longer applies, and so the gradient is hidden.\n\nHere’s what this looks like in supported browsers:\n\n## Conclusion\n\nAs we head into Interop’s 7th year, it's undeniable that the project has been a smashing success for the web. I’m so glad they keep building on this success!\n\nI know it’s kind of a weird time right now for web developers, and many of us are wondering whether we even need to care about this kind of stuff anymore. If we’re delegating all of our work to LLMs, do we still need to keep up with the latest-and-greatest CSS features?\n\n**Personally, I think it’s more important than ever.** We can’t expect LLMs to use modern CSS features when so much of their training data is years old. Most of the features I’ve shared in this post can be used today as a progressive enhancement, and if history is any guide, many of them will soon be widely available.\n\nIf we want to build the best possible user experiences, we’ll need to guide our agents to take advantage of modern web features, which requires us to know about them! This is something I dug into in [a newsletter issue](https://www.joshwcomeau.com/email/wham-launch-005-elephant-2-p/) earlier this year: deep technical expertise remains *incredibly* worthwhile in the agentic era.\n\nFinally, I’d strongly encourage you to [rank your own top choices](https://interop-rank.fxdx.dev/)! There’s a ton of great proposals in this list, including some exciting JavaScript APIs like Temporal which didn’t make sense to include in this blog post.\n\n**Prior art**\n\nThe idea for this blog post came from Declan Chidlow, who [similarly released their top Interop 2027 pics](https://vale.rocks/micros/20261011-0700). In fact,  [a](https://www.sarasoueidan.com/blog/interop-2027-rankings/)  [bunch](https://ohhelloana.blog/my-interop-2027/)  [of](https://tylersticka.com/journal/interop-2027-rank/)  [us](https://pawelgrzybek.com/my-interop-2027-picks/) have shared our rankings!\n","body_html":"<h1 id=\"the-future-of-css\">The Future of CSS</h1>\n<p>Josh W. Comeau | October 20, 2026</p>\n<p>For the past few years, all of the major browser vendors (Google, Apple, Microsoft, and Mozilla, along with Igalia and Bocoup) have been working together on  <a href=\"https://github.com/web-platform-tests/interop/blob/main/README.md\" rel=\"nofollow ugc noopener\">Interop</a>, a project to improve universal browser support on web technologies. It’s been a <em>remarkably</em> successful effort; when a focus area gets added to Interop, it often winds up reaching near-100% support across all major browsers within a year. ✨</p>\n<p>CSS Subgrid is a good example. Subgrid is a super-powerful extension to CSS Grid which enables <a href=\"https://www.joshwcomeau.com/css/subgrid/\" rel=\"nofollow ugc noopener\">entirely new layouts</a>. It was implemented in Firefox back in 2019, but there wasn’t much movement with other browsers for years. It got added to Interop 2023, and by the end of that year, it was widely available across all modern browsers:</p>\n<p><a href=\"https://wpt.fyi/interop-2023?feature=interop-2022-subgrid\" rel=\"nofollow ugc noopener\"><img src=\"https://www.joshwcomeau.com/_next/image/?url=%2Fimages%2Finterop-2027%2Fsubgrid-graph.png&amp;w=1200&amp;q=75\" alt=\"A graph showing CSS Subgrid going from only 12% of tests passing in January 2023 to 91% of tests passing by the end of the year. Safari went from 72% to 100%, Chrome/Edge went from 12% to 100%, and Firefox went from 63% to 91%\" loading=\"lazy\" decoding=\"async\" referrerpolicy=\"no-referrer\" /></a></p>\n<p>The Y axis shows the percentage of tests related to subgrid passing in each browser. The black “Interop” line shows tests passing in <em>all</em> browsers.</p>\n<p>As we reach the end of 2026, Interop 2027 is currently being planned, and the team at Mozilla has created a <a href=\"https://interop-rank.fxdx.dev/\" rel=\"nofollow ugc noopener\">ranking system</a> for us to upvote our most-requested features. They plan on using the ranking data to decide what to include for next year’s Interop!</p>\n<p>In this blog post, I want to dig into the top 10 features I voted for, to offer a bit of a preview of what CSS might look like within the next year. There will also be some little tips and tricks you can start using today!</p>\n<h2 id=\"1-css-functions\">1. CSS functions</h2>\n<p>Current Browser Support</p>\n<p>Supported in Chrome 155 and Edge 154</p>\n<p>Not supported in Firefox 157</p>\n<p>Not supported in Safari 27</p>\n<p>Current as of October 2026.<br />\nMore info on  <a href=\"https://caniuse.com/wf-function\" rel=\"nofollow ugc noopener\">caniuse</a></p>\n<p>One of the most exciting ideas is the <a href=\"https://github.com/web-platform-tests/interop/issues/1357\" rel=\"nofollow ugc noopener\">proposal to add functions to CSS</a>:</p>\n<pre><code>/* Define a function: */\n@function --gradient-to-transparent(--color, --direction: bottom) {\n  result: linear-gradient(\n    to var(--direction),\n    var(--color),\n    transparent;\n  );\n}\n\n/* Invoke it: */\n.elem {\n  background: --gradient-to-transparent(red);\n}\n\n/* …which produces: */\n.elem {\n  background: linear-gradient(\n    to bottom,\n    red,\n    transparent;\n  );\n}</code></pre>\n<p>If you’re familiar with JavaScript, this should feel pretty familiar. We define new functions with <code>@function</code> and specify the returned value with <code>result</code>.</p>\n<p>There’s <em>so</em> much cool stuff we can do with this. Personally, the use case I’m most interested in is the ability to convert between polar and cartesian coordinates, a concept we use over and over in my <a href=\"https://whimsy.joshwcomeau.com/\" rel=\"nofollow ugc noopener\">Whimsical Animations course</a>:</p>\n<pre><code>@function --translate-polar(--angle, --distance) {\n  result: translate(\n    calc(cos(var(--angle)) * var(--distance)),\n    calc(sin(var(--angle)) * var(--distance))\n  );\n}\n\n/* Move this element 100px at a 45° angle: */\n.particle {\n  transform: --translate-polar(45deg, 100px);\n}</code></pre>\n<p>This feels pretty “science-fiction” to me, but it’s already implemented in Chromium browsers, and if it gets added to Interop 2027, I think there’s very good odds that it could become widely available sooner rather than later!</p>\n<h2 id=\"2-bevels-and-squircles-with-corner-shape\">2. Bevels and squircles with <code>corner-shape</code></h2>\n<p>Current Browser Support</p>\n<p>Supported in Chrome 155 and Edge 154</p>\n<p>Not supported in Firefox 157</p>\n<p>Not supported in Safari 27</p>\n<p>Current as of October 2026.<br />\nMore info on  <a href=\"https://caniuse.com/wf-corner-shape\" rel=\"nofollow ugc noopener\">caniuse</a></p>\n<p>In CSS, we can use the <code>border-radius</code> property to round off the edges of our DOM nodes to create rounded rectangles. This property effectively adds a quarter-circle to each corner, connecting the 4 straight sides.</p>\n<p>The <code>corner-shape</code> property is an exploration of <em>alternative ways</em> to connect the 4 sides of our DOM nodes. It provides a handful of new options:</p>\n<p>Code Playground</p>\n<p>Code editor:</p>\n<pre><code>&lt;style&gt;\n\n.box {\n\nborder-radius: 16px;\n\n&amp;.squircle {\n\ncorner-shape: squircle;\n\n}\n\n&amp;.bevel {\n\ncorner-shape: bevel;\n\n}\n\n&amp;.notch {\n\ncorner-shape: notch;\n\n}\n\n&amp;.scoop {\n\ncorner-shape: scoop;\n\n}\n\n}\n\n&lt;/style&gt;\n\n&lt;div class=&quot;wrapper&quot;&gt;\n\n&lt;div class=&quot;box&quot;&gt;Round (default)&lt;/div&gt;\n\n&lt;div class=&quot;box squircle&quot;&gt;Squircle&lt;/div&gt;\n\n&lt;div class=&quot;box bevel&quot;&gt;Bevel&lt;/div&gt;\n\n&lt;div class=&quot;box notch&quot;&gt;Notch&lt;/div&gt;\n\n&lt;div class=&quot;box scoop&quot;&gt;Scoop&lt;/div&gt;\n\n&lt;/div&gt;</code></pre>\n<p>&lt;style&gt;\n.box {\nborder-radius: 16px;\n&amp;.squircle {\ncorner-shape: squircle;\n}\n&amp;.bevel {\ncorner-shape: bevel;\n}\n&amp;.notch {\ncorner-shape: notch;\n}\n&amp;.scoop {\ncorner-shape: scoop;\n}\n}\n&lt;/style&gt;\n&lt;div class=&quot;wrapper&quot;&gt;\n&lt;div class=&quot;box&quot;&gt;Round (default)&lt;/div&gt;\n&lt;div class=&quot;box squircle&quot;&gt;Squircle&lt;/div&gt;\n&lt;div class=&quot;box bevel&quot;&gt;Bevel&lt;/div&gt;\n&lt;div class=&quot;box notch&quot;&gt;Notch&lt;/div&gt;\n&lt;div class=&quot;box scoop&quot;&gt;Scoop&lt;/div&gt;\n&lt;/div&gt;</p>\n<p>Result</p>\n<figure><img src=\"https://www.joshwcomeau.com/images/interop-2027/corner-shape-options.png\" alt=\"5 boxes each with different corner shapes: round, squircle, bevel, notch, and scoop. Round is the default, squircle is a slightly smoother and more angled circular corner, bevel is a 45-degree diagonal corner, not is a square cutout corner, and scoop is a circular cutout corner\" loading=\"lazy\" decoding=\"async\" referrerpolicy=\"no-referrer\" /></figure>\n<p>When I first heard about this property, I was most excited about <code>squircle</code>. If you’re not familiar, squircles are an alternative algorithm for generating rounded corners using superellipses. Apple has been making use of them for years because they produce smoother, gentler edges.</p>\n<p>That said, after messing around with <code>corner-shape</code> for a while, I find myself using <code>corner-shape: bevel</code> a ton. It’s great for creating video game / sci-fi UIs. Here’s a little preview of a side-project I’ve been working on, with <em>tons</em> of <code>corner-shape: bevel</code>:</p>\n<figure><img src=\"https://www.joshwcomeau.com/_next/image/?url=%2Fimages%2Finterop-2027%2Fbeveled-corners.png&amp;w=750&amp;q=75\" alt=\"Screenshot of a monochromatic UI with tons of layered gray boxes. Each box has a 45-degree beveled corner.\" loading=\"lazy\" decoding=\"async\" referrerpolicy=\"no-referrer\" /></figure>\n<p>We’ve technically been able to do stuff like this with <code>clip-path</code> or masks, but unlike those features, <code>corner-shape</code> actually <em>changes the shape of the border-box</em>. This means that our borders, outlines, and box-shadows will correctly follow the altered corner shapes!</p>\n<p>And even though this property isn’t available in Firefox/Safari (as I write this in October 2026), I think it’s reasonable to start using it today. It’s a perfect progressive enhancement!</p>\n<h2 id=\"3-infinite-possibilities-with-border-shape\">3. Infinite possibilities with <code>border-shape</code></h2>\n<p>Current Browser Support</p>\n<p>Supported in Chrome 155 and Edge 154</p>\n<p>Not supported in Firefox 157</p>\n<p>Not supported in Safari 27</p>\n<p>Current as of October 2026.<br />\nMore info on  <a href=\"https://caniuse.com/wf-border-shape\" rel=\"nofollow ugc noopener\">caniuse</a></p>\n<p>In addition to <code>corner-shape</code>, there’s a separate proposal for  <a href=\"https://github.com/web-platform-tests/interop/issues/1371\" rel=\"nofollow ugc noopener\">border-shape</a>, which is essentially a lower-level version that allows us to <em>draw the border ourselves.</em></p>\n<p>I covered this property in depth in a <a href=\"https://www.joshwcomeau.com/email/2026-09-14-new-css-features/\" rel=\"nofollow ugc noopener\">recent newsletter issue</a>, so I won’t repeat myself too much here. To summarize, <code>border-shape</code> lets us create whatever border shape we want using straight lines, arcs, and Bézier curves.</p>\n<p>I used this property recently to draw this card with a big circular scoop at the top:</p>\n<figure><img src=\"https://www.joshwcomeau.com/_next/image/?url=%2Fimages%2Finterop-2027%2Fhegemon-card.png&amp;w=1080&amp;q=75\" alt=\"Screenshot of a portrait-oriented green card with a floating gold coin. The card has squircle-style corners and a big circular cutout along the top, tracing the bottom edge of the coin\" loading=\"lazy\" decoding=\"async\" referrerpolicy=\"no-referrer\" /></figure>\n<p>Like <code>corner-shape</code>, this property changes the element’s actual border box, so borders/outlines/shadows will trace it correctly. I drew the shape I wanted and then added a white border and black outline to achieve the effect shown above!</p>\n<p>We can even animate between differnt border shapes, like I do in this clip:</p>\n<p>You can learn a bit more about this property in my <a href=\"https://www.joshwcomeau.com/email/2026-09-14-new-css-features/\" rel=\"nofollow ugc noopener\">newsletter issue on the subject</a>.</p>\n<h2 id=\"4-anchored-container-queries\">4. Anchored Container Queries</h2>\n<p>Current Browser Support</p>\n<p>Supported in Chrome 155 and Edge 154</p>\n<p>Not supported in Firefox 157</p>\n<p>Not supported in Safari 27</p>\n<p>Current as of October 2026.<br />\nMore info on  <a href=\"https://caniuse.com/wf-container-anchor-position-queries\" rel=\"nofollow ugc noopener\">caniuse</a></p>\n<p>I recently published a <a href=\"https://www.joshwcomeau.com/css/anchor-positioning/\" rel=\"nofollow ugc noopener\">blog post on Anchor Positioning</a>, one of the most exciting modern CSS features (which was actually prioritized in Interop 2026, and is now widely available!).</p>\n<p>The Anchor Positioning API allows us to anchor one element to another. For example, we might anchor a floating tooltip element to its trigger, so that no matter where that trigger is on the page, the tooltip will always be connected to it.</p>\n<p>If you’ve ever tried to solve this sort of problem yourself, you know it’s surprisingly tricky. For example, we might want our tooltip to float above the anchor, but what if the anchor is near the top of the viewport?</p>\n<p>This is a tooltip displaying additional information about this button.</p>\n<p>The tooltip fits comfortably.</p>\n<p>This is a tooltip displaying additional information about this button.</p>\n<p>The tooltip’s getting cut off!</p>\n<p>The original Anchor Positioning API gave us <em>most</em> of the tools needed to solve this problem easily in CSS. It allows us to specify <em>fallback</em> positions; if the target element doesn’t fit above the anchor, it can flip automatically to the bottom.</p>\n<p><strong>The only thing missing was the ability to tell whether or not the target had flipped.</strong> We had no way to know, in CSS, whether the target element is currently sitting above or below the anchor, whether it’s using the default or fallback position. For tooltips, this is a problem because we typically want to add a little protrusion that points towards the anchor.</p>\n<p>The “Level 2” version of the Anchor Positioning API includes a new type of container query that allows us to check whether the target element is using a fallback position or not. You can learn more about it in my <a href=\"https://www.joshwcomeau.com/css/anchor-positioning/#flipped-carets-with-anchored-container-queries-3\" rel=\"nofollow ugc noopener\">Anchor Positioning blog post</a>, or check out the <a href=\"https://github.com/web-platform-tests/interop/issues/1363\" rel=\"nofollow ugc noopener\">Interop 2027 proposal</a>.</p>\n<h2 id=\"5-css-inherit-function\">5. CSS inherit() function</h2>\n<p>So honestly, I had never heard of <a href=\"https://github.com/web-platform-tests/interop/issues/1453\" rel=\"nofollow ugc noopener\">this proposal</a>, and as far as I can tell, it isn’t implemented in any browsers. It’s not even listed on caniuse, so I can’t display one of those little widgets!</p>\n<p>And yet, the moment I saw it, it became something I needed to have. 😂</p>\n<p>As you might know, the <code>inherit</code> keyword in CSS allows us to pass a value down from the parent, even if that property isn’t typically inherited:</p>\n<p>Code Playground</p>\n<p>Code editor:</p>\n<pre><code>&lt;style&gt;\n\nmain {\n\nborder: 3px dashed red;\n\n}\n\np {\n\nborder: inherit;\n\n}\n\n&lt;/style&gt;\n\n&lt;main&gt;\n\n&lt;p&gt;\n\nThis paragraph inherits the dashed red border!\n\n&lt;/p&gt;\n\n&lt;/main&gt;</code></pre>\n<p>&lt;style&gt;\nmain {\nborder: 3px dashed red;\n}\np {\nborder: inherit;\n}\n&lt;/style&gt;\n&lt;main&gt;\n&lt;p&gt;\nThis paragraph inherits the dashed red border!\n&lt;/p&gt;\n&lt;/main&gt;</p>\n<p>Result</p>\n<p>This is a useful little trick to reuse values, but I frequently wind up discovering that it doesn’t <em>quite</em> work. For example, suppose we have nested border radiuses (or is it radii?):</p>\n<p>Code Playground</p>\n<p>Code editor:</p>\n<pre><code>&lt;style&gt;\n\nmain {\n\nborder: 2px solid red;\n\nborder-radius: 16px;\n\n}\n\np {\n\nborder: inherit;\n\nborder-radius: inherit;\n\n}\n\n&lt;/style&gt;\n\n&lt;main&gt;\n\n&lt;p&gt;\n\nThis paragraph inherits the dashed red border!\n\n&lt;/p&gt;\n\n&lt;/main&gt;</code></pre>\n<p>&lt;style&gt;\nmain {\nborder: 2px solid red;\nborder-radius: 16px;\n}\np {\nborder: inherit;\nborder-radius: inherit;\n}\n&lt;/style&gt;\n&lt;main&gt;\n&lt;p&gt;\nThis paragraph inherits the dashed red border!\n&lt;/p&gt;\n&lt;/main&gt;</p>\n<p>Result</p>\n<p>In order for nested border radii to look correct, we need to reduce the amount of rounding on the inner radius. So I don’t <em>exactly</em> want to use the inherited value; I want to transform it.</p>\n<p>That&#39;s where the proposed <code>inherit()</code> function comes in. It will pluck the inherited value and allow us to modify it using <code>calc()</code>:</p>\n<pre><code>p {\n  border-radius: calc(inherit() - 4px);\n}</code></pre>\n<p>Given how preliminary this feature is, I’d be a bit surprised if it makes the cut for Interop 2027. But I hope we do get this feature in the future! It seems super useful. 😄</p>\n<h2 id=\"6-scroll-triggered-animations\">6. Scroll-triggered animations</h2>\n<p>Current Browser Support</p>\n<p>Supported in Chrome 155 and Edge 154</p>\n<p>Not supported in Firefox 157</p>\n<p>Not supported in Safari 27</p>\n<p>Current as of October 2026.<br />\nMore info on  <a href=\"https://caniuse.com/wf-container-anchor-position-queries\" rel=\"nofollow ugc noopener\">caniuse</a></p>\n<p>In my <a href=\"https://www.joshwcomeau.com/animation/scroll-driven-animations/\" rel=\"nofollow ugc noopener\">blog post on scroll-driven animations</a>, we explore how we can scrub through a keyframe animation by scrolling. For example, we can use it to fade an element in as it traverses the viewport:</p>\n<p>100%</p>\n<p>80%</p>\n<p>60%</p>\n<p>40%</p>\n<p>20%</p>\n<p>0%</p>\n<p>Scroll-driven animations were <a href=\"https://wpt.fyi/interop-2026?feature=interop-2026-scroll-driven-animations\" rel=\"nofollow ugc noopener\">part of Interop 2026</a>, and it’s been successfully implemented across all browsers. In addition to Scroll-<em>driven</em> animations, however, there’s a separate proposal for <a href=\"https://github.com/web-platform-tests/interop/issues/1433\" rel=\"nofollow ugc noopener\">scroll-<em>triggered</em> animations</a>.</p>\n<p>With scroll-triggered animations, the goal is to trigger a keyframe animation when the user scrolls to a specific point, like a proximity sensor going off. At that point, the animation runs normally over a specified duration.</p>\n<p>We can currently implement scroll-triggered animations using the <code>IntersectionObserver</code> API in JavaScript, but it’s kind of a pain. It’ll be super nice when we can use CSS for both scroll-driven and scroll-triggered animations, since they each have their own use cases.</p>\n<p>You can learn more about scroll-triggered animations in this <a href=\"https://developer.chrome.com/blog/scroll-triggered-animations\" rel=\"nofollow ugc noopener\">wonderful article by Bramus</a>.</p>\n<h2 id=\"7-css-reading-flow-and-reading-order\">7. CSS reading-flow and reading-order</h2>\n<p>Current Browser Support</p>\n<p>Supported in Chrome 155 and Edge 154</p>\n<p>Not supported in Firefox 157</p>\n<p>Not supported in Safari 27</p>\n<p>Current as of October 2026.<br />\nMore info on  <a href=\"https://caniuse.com/wf-reading-flow\" rel=\"nofollow ugc noopener\">caniuse</a></p>\n<p>I’m currently working on a which involves a dynamic grid-based layout. Items are arranged very differently on desktop vs. mobile:</p>\n<figure><img src=\"https://www.joshwcomeau.com/images/interop-2027/btn-sounds-desktop.png\" alt=\"A blurry image showing a list of things on the left, a big red button in the middle, and some extra panels on the right\" loading=\"lazy\" decoding=\"async\" referrerpolicy=\"no-referrer\" /></figure>\n<p>Desktop Layout</p>\n<figure><img src=\"https://www.joshwcomeau.com/images/interop-2027/btn-sounds-mobile.png\" alt=\"A blurry image showing a single narrow column with a big red button, then a list of things, then some extra config panels\" loading=\"lazy\" decoding=\"async\" referrerpolicy=\"no-referrer\" /></figure>\n<p>Mobile Layout</p>\n<p>This is one of the great things about responsive CSS, but it leads to an unfortunate side effect: tab order is always based on the <em>DOM order,</em> not the visual order. So, if someone uses assistive technologies to navigate between elements, that navigation order will always be the same, even as the layout changes dramatically depending on screen size.</p>\n<p>On desktop, the first visual item is that list of Redactedsounds on the left, but on mobile, the first item is that big red button. Whichever element comes first in the DOM will be the first item to receive focus, which will invariably be wrong for a percentage of our users.</p>\n<p>Thankfully, the new <code>reading-flow</code> property grants us a solution to this problem, and there’s a <a href=\"https://github.com/web-platform-tests/interop/issues/1349\" rel=\"nofollow ugc noopener\">proposal for Interop 2027</a>.</p>\n<p>The basic idea is that we can specify that the tab order should follow one of several visual orders:</p>\n<pre><code>.grid {\n  display: grid;\n  reading-flow: grid-rows;\n}</code></pre>\n<p>There are values for both CSS Grid and Flexbox, and if you need even more control, the <code>reading-order</code> property allows us to create a custom order, sorta like <code>tabIndex</code> in HTML.</p>\n<p>This property has been championed by one of my personal heroes, Rachel Andrew. You can read more about it in <a href=\"https://developer.chrome.com/blog/reading-flow\" rel=\"nofollow ugc noopener\">her blog post on <em>reading-flow</em></a>.</p>\n<h2 id=\"8-keyword-size-animations-with-interpolate-size-and-calc-size\">8. Keyword size animations with <code>interpolate-size</code> and <code>calc-size()</code></h2>\n<p>Current Browser Support</p>\n<p>Supported in Chrome 155 and Edge 154</p>\n<p>Not supported in Firefox 157</p>\n<p>Not supported in Safari 27</p>\n<p>Current as of October 2026.<br />\nMore info on  <a href=\"https://caniuse.com/wf-interpolate-size\" rel=\"nofollow ugc noopener\">caniuse</a></p>\n<p>A long-standing pain point on the web has been the inability to animate between keyword values like <code>auto</code>. The <code>interpolate-size</code> property solves this problem, and there’s an <a href=\"https://github.com/web-platform-tests/interop/issues/1373\" rel=\"nofollow ugc noopener\">Interop 2027 proposal</a> for it, alongside the related <code>calc-size()</code> function.</p>\n<p>The most common use case for this feature is to animate between <code>height: 0</code> and <code>height: auto</code>, for creating collapsible accordion-type UIs:</p>\n<p>Code Playground</p>\n<p>Code editor:</p>\n<pre><code>&lt;style&gt;\n\nhtml {\n\ninterpolate-size: allow-keywords;\n\n}\n\n@supports (\n\ninterpolate-size: allow-keywords\n\n) {\n\ndetails {\n\noverflow: hidden;\n\n&amp;::details-content {\n\nheight: 0;\n\ntransition:\n\nheight 300ms,\n\ncontent-visibility 300ms;\n\ntransition-behavior: allow-discrete;\n\n}\n\n&amp;:open::details-content {\n\nheight: auto;\n\n}\n\n}\n\n}\n\n&lt;/style&gt;\n\n&lt;details&gt;\n\n&lt;summary&gt;Click me to show/hide!&lt;/summary&gt;\n\n&lt;p&gt;This is the hidden content which animates as it is shown/hidden. 😄&lt;/p&gt;\n\n&lt;/details&gt;</code></pre>\n<p>&lt;style&gt;\nhtml {\ninterpolate-size: allow-keywords;\n}\n@supports (\ninterpolate-size: allow-keywords\n) {\ndetails {\noverflow: hidden;\n&amp;::details-content {\nheight: 0;\ntransition:\nheight 300ms,\ncontent-visibility 300ms;\ntransition-behavior: allow-discrete;\n}\n&amp;:open::details-content {\nheight: auto;\n}\n}\n}\n&lt;/style&gt;\n&lt;details&gt;\n&lt;summary&gt;Click me to show/hide!&lt;/summary&gt;\n&lt;p&gt;This is the hidden content which animates as it is shown/hidden. 😄&lt;/p&gt;\n&lt;/details&gt;</p>\n<p>Result</p>\n<p>The <code>interpolate-size</code> property is not yet supported in your browser. Here’s what it looks like in supported browsers:</p>\n<p>This is admittedly kind of a complex example, requiring other niche-but-well-supported CSS like <code>transition-behavior</code>. But the key thing is that <code>interpolate-size: allow-keywords</code> makes this sort of transition possible.</p>\n<p>This proposal has been kicking around for a while now, and it’s been implemented in Chrome since 2024, so hopefully it makes it into Interop 2027!</p>\n<p>And even though it isn’t yet available in all browsers, we can start using it today as a progressive enhancement. Just be sure to gate the <code>transition</code> behind a <code>@supports</code> query, since otherwise a brief delay will be added to unsupported browsers.</p>\n<h2 id=\"9-css-gap-decorations\">9. CSS gap decorations</h2>\n<p>Current Browser Support</p>\n<p>Supported in Chrome 155 and Edge 154</p>\n<p>Not supported in Firefox 157</p>\n<p>Not supported in Safari 27</p>\n<p>Current as of October 2026.<br />\nMore info on  <a href=\"https://caniuse.com/wf-gap-decorations\" rel=\"nofollow ugc noopener\">caniuse</a></p>\n<p>One of the things that makes CSS Grid layout unique is that the grid children are positioned using rows/columns defined entirely in CSS. In every other layout mode, elements are positioned using other elements! In Table layout, for example, every grid cell has an associated <code>&lt;td&gt;</code> or <code>&lt;th&gt;</code> element.</p>\n<p>There are a lot of upsides to CSS Grid, but one of the downsides is that it’s not as easy to add borders between grid cells. If a grid cell is empty, there’s no element to slap a <code>border: 1px solid</code> on!</p>\n<p>The <a href=\"https://github.com/web-platform-tests/interop/issues/1374\" rel=\"nofollow ugc noopener\">gap decorations proposal</a> introduces a new set of CSS properties that will allow us to use a border-like syntax on the grid itself. Check this out:</p>\n<p>Code Playground</p>\n<p>Code editor:</p>\n<pre><code>&lt;style&gt;\n\n.grid {\n\ndisplay: grid;\n\ngrid-template-columns: repeat(3, 1fr);\n\ngrid-template-rows: repeat(3, 1fr);\n\ngap: 1px;\n\nborder: 1px solid red;\n\n/* 👇 The new feature 👇 */\n\nrule: 1px solid red;\n\n}\n\n&lt;/style&gt;\n\n&lt;div class=&quot;grid&quot;&gt;\n\n&lt;div class=&quot;child&quot;&gt;1&lt;/div&gt;\n\n&lt;div class=&quot;child&quot;&gt;2&lt;/div&gt;\n\n&lt;/div&gt;</code></pre>\n<p>&lt;style&gt;\n.grid {\ndisplay: grid;\ngrid-template-columns: repeat(3, 1fr);\ngrid-template-rows: repeat(3, 1fr);\ngap: 1px;\nborder: 1px solid red;\n/* 👇 The new feature 👇 */\nrule: 1px solid red;\n}\n&lt;/style&gt;\n&lt;div class=&quot;grid&quot;&gt;\n&lt;div class=&quot;child&quot;&gt;1&lt;/div&gt;\n&lt;div class=&quot;child&quot;&gt;2&lt;/div&gt;\n&lt;/div&gt;</p>\n<p>Result</p>\n<p>The <code>rule</code> property is not yet supported in your browser. Here’s what it looks like in supported browsers:</p>\n<figure><img src=\"https://www.joshwcomeau.com/images/interop-2027/row-rule.png\" alt=\"A 3-by-3 grid with red borders between each row and column. The first two cells have a peach-colored element, the rest are empty.\" loading=\"lazy\" decoding=\"async\" referrerpolicy=\"no-referrer\" /></figure>\n<p>Like <code>border</code>, the <code>rule</code> property is a shorthand property that allows us to specify the width, color, and style (dashed/dotted/solid) of the line. We can also use <code>row-rule</code> and <code>column-rule</code> if we only want to draw lines between each row or column.</p>\n<p><strong>Classic workaround</strong></p>\n<p>In the meantime, while we wait for browsers to support gap decorations, how can we add lines between each grid cell?</p>\n<p>I’ve been using the same workaround for many years now. Here’s what it looks like:</p>\n<p>Code Playground</p>\n<p>Code editor:</p>\n<pre><code>&lt;style&gt;\n\n.grid {\n\ndisplay: grid;\n\ngrid-template-columns: repeat(3, 1fr);\n\ngrid-template-rows: repeat(3, 1fr);\n\ngap: 1px;\n\npadding: 1px;\n\nbackground-color: red;\n\n}\n\n.empty.child {\n\nbackground-color: white;\n\n}\n\n&lt;/style&gt;\n\n&lt;div class=&quot;grid&quot;&gt;\n\n&lt;div class=&quot;child&quot;&gt;1&lt;/div&gt;\n\n&lt;div class=&quot;child&quot;&gt;2&lt;/div&gt;\n\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n\n&lt;/div&gt;</code></pre>\n<p>&lt;style&gt;\n.grid {\ndisplay: grid;\ngrid-template-columns: repeat(3, 1fr);\ngrid-template-rows: repeat(3, 1fr);\ngap: 1px;\npadding: 1px;\nbackground-color: red;\n}\n.empty.child {\nbackground-color: white;\n}\n&lt;/style&gt;\n&lt;div class=&quot;grid&quot;&gt;\n&lt;div class=&quot;child&quot;&gt;1&lt;/div&gt;\n&lt;div class=&quot;child&quot;&gt;2&lt;/div&gt;\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n&lt;div class=&quot;empty child&quot;&gt;&lt;/div&gt;\n&lt;/div&gt;</p>\n<p>Result</p>\n<p>The basic idea is that the grid itself gets a <code>background-color</code> that matches the border we want, and we add a 1px <code>gap</code> so that the background peeks through between each cell.</p>\n<p>Unfortunately, this means that we need to add a bunch of empty DOM nodes to fill each cell in the grid. It also only works if the page background is a solid color. And it’s nowhere near as flexible as the upcoming <code>rule</code> property is; for example, we can’t add a bit of space between the grid’s outer border and the inner grid lines.</p>\n<p>This is just one of many techniques we explore in my comprehensive CSS course, <a href=\"https://css-for-js.dev/\" rel=\"nofollow ugc noopener\"><strong>CSS for JavaScript Developers</strong></a>.</p>\n<h2 id=\"10-scroll-state-container-queries\">10. Scroll state container queries</h2>\n<p>Current Browser Support</p>\n<p>Supported in Chrome 155 and Edge 154</p>\n<p>Not supported in Firefox 157</p>\n<p>Not supported in Safari 27</p>\n<p>Current as of October 2026.<br />\nMore info on  <a href=\"https://caniuse.com/wf-container-scroll-state-queries\" rel=\"nofollow ugc noopener\">caniuse</a></p>\n<p>When working with <code>position: sticky</code>, have you ever wished there was a way to know whether the element was currently “stuck” or not? For example, maybe you’ve wanted to change the background color of a sticky header when it becomes stuck to the top of the viewport.</p>\n<p>This  <a href=\"https://github.com/web-platform-tests/interop/issues/1364\" rel=\"nofollow ugc noopener\">proposal</a> is for the implementation of a new type of container query, one that matches when a <code>position: sticky</code> element switches from its typical in-flow position to being anchored to the viewport. Check it out:</p>\n<p>Code Playground</p>\n<p>Code editor:</p>\n<pre><code>&lt;style&gt;\n\nheader {\n\nposition: sticky;\n\ntop: 0;\n\ncontainer-type: scroll-state;\n\n}\n\n@container scroll-state(stuck: top) {\n\n.header-content {\n\nbackground: var(--gray-300);\n\nborder-bottom:\n\n1px solid var(--gray-500);\n\n}\n\n}\n\n&lt;/style&gt;\n\n&lt;header&gt;\n\n&lt;div class=&quot;header-content&quot;&gt;\n\nSticky header example\n\n&lt;/div&gt;\n\n&lt;/header&gt;\n\n&lt;p&gt;\n\n👇 Scroll down 👇\n\n&lt;/p&gt;</code></pre>\n<p>&lt;style&gt;\nheader {\nposition: sticky;\ntop: 0;\ncontainer-type: scroll-state;\n}\n@container scroll-state(stuck: top) {\n.header-content {\nbackground: var(--gray-300);\nborder-bottom:\n1px solid var(--gray-500);\n}\n}\n&lt;/style&gt;\n&lt;header&gt;\n&lt;div class=&quot;header-content&quot;&gt;\nSticky header example\n&lt;/div&gt;\n&lt;/header&gt;\n&lt;p&gt;\n👇 Scroll down 👇\n&lt;/p&gt;</p>\n<p>Result</p>\n<p>Here’s what this looks like, if this feature isn’t yet supported in your browser.</p>\n<p>Interestingly, this new API isn’t <em>just</em> for sticky positioning; we can use it to query all sorts of scroll-related state. For example, we can tell whether a scroll container is scrolled to the top/bottom, which can be useful for showing those scroll-indicating gradients:</p>\n<p>Code Playground</p>\n<p>Code editor:</p>\n<pre><code>&lt;style&gt;\n\n.container {\n\nheight: 100%;\n\ncontainer-type: scroll-state size;\n\noverflow: auto;\n\n&amp;::before {\n\ntop: 0;\n\nbackground: linear-gradient(\n\nto bottom,\n\nblack,\n\ntransparent\n\n);\n\nopacity: 0;\n\n@container scroll-state(scrollable: top) {\n\nopacity: 1;\n\n}\n\n}\n\n&amp;::after {\n\nbottom: 0;\n\nbackground: linear-gradient(\n\nto top,\n\nblack,\n\ntransparent\n\n);\n\nopacity: 0;\n\n@container scroll-state(scrollable: bottom) {\n\nopacity: 1;\n\n}\n\n}\n\n/* Shared styles */\n\n&amp;::before, &amp;::after {\n\ncontent: &#39;&#39;;\n\nposition: absolute;\n\nleft: 0;\n\nright: 0;\n\nheight: 50px;\n\npointer-events: none;\n\ntransition: opacity 300ms;\n\n}\n\n}\n\n&lt;/style&gt;\n\n&lt;div class=&quot;container&quot;&gt;\n\n&lt;ul&gt;\n\n&lt;li&gt;One&lt;/li&gt;\n\n&lt;li&gt;Two&lt;/li&gt;\n\n&lt;li&gt;Three&lt;/li&gt;\n\n&lt;li&gt;Four&lt;/li&gt;\n\n&lt;li&gt;Five&lt;/li&gt;\n\n&lt;li&gt;Six&lt;/li&gt;\n\n&lt;li&gt;Seven&lt;/li&gt;\n\n&lt;li&gt;Eight&lt;/li&gt;\n\n&lt;li&gt;Nine&lt;/li&gt;\n\n&lt;li&gt;Ten&lt;/li&gt;\n\n&lt;li&gt;Eleven&lt;/li&gt;\n\n&lt;li&gt;Twelve&lt;/li&gt;\n\n&lt;li&gt;Thirteen&lt;/li&gt;\n\n&lt;li&gt;Fourteen&lt;/li&gt;\n\n&lt;li&gt;Fifteen&lt;/li&gt;\n\n&lt;li&gt;Sixteen&lt;/li&gt;\n\n&lt;li&gt;Seventeen&lt;/li&gt;\n\n&lt;li&gt;Eighteen&lt;/li&gt;\n\n&lt;li&gt;Nineteen&lt;/li&gt;\n\n&lt;li&gt;Twenty&lt;/li&gt;\n\n&lt;li&gt;Twenty One&lt;/li&gt;\n\n&lt;li&gt;Twenty Two&lt;/li&gt;\n\n&lt;li&gt;Twenty Three&lt;/li&gt;\n\n&lt;li&gt;Twenty Four&lt;/li&gt;\n\n&lt;li&gt;Twenty Five&lt;/li&gt;\n\n&lt;/ul&gt;\n\n&lt;/div&gt;</code></pre>\n<p>&lt;style&gt;\n.container {\nheight: 100%;\ncontainer-type: scroll-state size;\noverflow: auto;\n&amp;::before {\ntop: 0;\nbackground: linear-gradient(\nto bottom,\nblack,\ntransparent\n);\nopacity: 0;\n@container scroll-state(scrollable: top) {\nopacity: 1;\n}\n}\n&amp;::after {\nbottom: 0;\nbackground: linear-gradient(\nto top,\nblack,\ntransparent\n);\nopacity: 0;\n@container scroll-state(scrollable: bottom) {\nopacity: 1;\n}\n}\n/* Shared styles */\n&amp;::before, &amp;::after {\ncontent: &#39;&#39;;\nposition: absolute;\nleft: 0;\nright: 0;\nheight: 50px;\npointer-events: none;\ntransition: opacity 300ms;\n}\n}\n&lt;/style&gt;\n&lt;div class=&quot;container&quot;&gt;\n&lt;ul&gt;\n&lt;li&gt;One&lt;/li&gt;\n&lt;li&gt;Two&lt;/li&gt;\n&lt;li&gt;Three&lt;/li&gt;\n&lt;li&gt;Four&lt;/li&gt;\n&lt;li&gt;Five&lt;/li&gt;\n&lt;li&gt;Six&lt;/li&gt;\n&lt;li&gt;Seven&lt;/li&gt;\n&lt;li&gt;Eight&lt;/li&gt;\n&lt;li&gt;Nine&lt;/li&gt;\n&lt;li&gt;Ten&lt;/li&gt;\n&lt;li&gt;Eleven&lt;/li&gt;\n&lt;li&gt;Twelve&lt;/li&gt;\n&lt;li&gt;Thirteen&lt;/li&gt;\n&lt;li&gt;Fourteen&lt;/li&gt;\n&lt;li&gt;Fifteen&lt;/li&gt;\n&lt;li&gt;Sixteen&lt;/li&gt;\n&lt;li&gt;Seventeen&lt;/li&gt;\n&lt;li&gt;Eighteen&lt;/li&gt;\n&lt;li&gt;Nineteen&lt;/li&gt;\n&lt;li&gt;Twenty&lt;/li&gt;\n&lt;li&gt;Twenty One&lt;/li&gt;\n&lt;li&gt;Twenty Two&lt;/li&gt;\n&lt;li&gt;Twenty Three&lt;/li&gt;\n&lt;li&gt;Twenty Four&lt;/li&gt;\n&lt;li&gt;Twenty Five&lt;/li&gt;\n&lt;/ul&gt;\n&lt;/div&gt;</p>\n<p>Result</p>\n<p>If there&#39;s the ability to scroll up, <code>scrollable: top</code> matches, and so we reveal the pseudo-element floating over the top of the content. When scrolled all the way up, <code>scrollable: top</code> no longer applies, and so the gradient is hidden.</p>\n<p>Here’s what this looks like in supported browsers:</p>\n<h2 id=\"conclusion\">Conclusion</h2>\n<p>As we head into Interop’s 7th year, it&#39;s undeniable that the project has been a smashing success for the web. I’m so glad they keep building on this success!</p>\n<p>I know it’s kind of a weird time right now for web developers, and many of us are wondering whether we even need to care about this kind of stuff anymore. If we’re delegating all of our work to LLMs, do we still need to keep up with the latest-and-greatest CSS features?</p>\n<p><strong>Personally, I think it’s more important than ever.</strong> We can’t expect LLMs to use modern CSS features when so much of their training data is years old. Most of the features I’ve shared in this post can be used today as a progressive enhancement, and if history is any guide, many of them will soon be widely available.</p>\n<p>If we want to build the best possible user experiences, we’ll need to guide our agents to take advantage of modern web features, which requires us to know about them! This is something I dug into in <a href=\"https://www.joshwcomeau.com/email/wham-launch-005-elephant-2-p/\" rel=\"nofollow ugc noopener\">a newsletter issue</a> earlier this year: deep technical expertise remains <em>incredibly</em> worthwhile in the agentic era.</p>\n<p>Finally, I’d strongly encourage you to <a href=\"https://interop-rank.fxdx.dev/\" rel=\"nofollow ugc noopener\">rank your own top choices</a>! There’s a ton of great proposals in this list, including some exciting JavaScript APIs like Temporal which didn’t make sense to include in this blog post.</p>\n<p><strong>Prior art</strong></p>\n<p>The idea for this blog post came from Declan Chidlow, who <a href=\"https://vale.rocks/micros/20261011-0700\" rel=\"nofollow ugc noopener\">similarly released their top Interop 2027 pics</a>. In fact,  <a href=\"https://www.sarasoueidan.com/blog/interop-2027-rankings/\" rel=\"nofollow ugc noopener\">a</a>  <a href=\"https://ohhelloana.blog/my-interop-2027/\" rel=\"nofollow ugc noopener\">bunch</a>  <a href=\"https://tylersticka.com/journal/interop-2027-rank/\" rel=\"nofollow ugc noopener\">of</a>  <a href=\"https://pawelgrzybek.com/my-interop-2027-picks/\" rel=\"nofollow ugc noopener\">us</a> have shared our rankings!</p>","headings":[{"level":1,"text":"The Future of CSS","id":"the-future-of-css"},{"level":2,"text":"1. CSS functions","id":"1-css-functions"},{"level":2,"text":"2. Bevels and squircles with corner-shape","id":"2-bevels-and-squircles-with-corner-shape"},{"level":2,"text":"3. Infinite possibilities with border-shape","id":"3-infinite-possibilities-with-border-shape"},{"level":2,"text":"4. Anchored Container Queries","id":"4-anchored-container-queries"},{"level":2,"text":"5. CSS inherit() function","id":"5-css-inherit-function"},{"level":2,"text":"6. Scroll-triggered animations","id":"6-scroll-triggered-animations"},{"level":2,"text":"7. CSS reading-flow and reading-order","id":"7-css-reading-flow-and-reading-order"},{"level":2,"text":"8. Keyword size animations with interpolate-size and calc-size()","id":"8-keyword-size-animations-with-interpolate-size-and-calc-size"},{"level":2,"text":"9. CSS gap decorations","id":"9-css-gap-decorations"},{"level":2,"text":"10. Scroll state container queries","id":"10-scroll-state-container-queries"},{"level":2,"text":"Conclusion","id":"conclusion"}]}}