<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/feature-detecting-undetectable-css-features-with-supports-named-feature--f27ypgr3d" -->

---
title: Feature Detecting “Undetectable” CSS Features with...
description: CSS gained a new @supports named-feature() function to detect implementation-specific behaviors that traditional @supports checks cannot catch, such as partial...
canonical: https://daily.dev/posts/feature-detecting-undetectable-css-features-with-supports-named-feature--f27ypgr3d
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Feature Detecting “Undetectable” CSS Features with @supports named-feature() | daily.dev
og:description: CSS gained a new @supports named-feature() function to detect implementation-specific behaviors that traditional @supports checks cannot catch, such as partial...
og:url: https://daily.dev/posts/feature-detecting-undetectable-css-features-with-supports-named-feature--f27ypgr3d
og:image: https://api.daily.dev/og/posts/f27YPGR3D.png
og:image:alt: Feature Detecting “Undetectable” CSS Features with @supports named-feature()
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Feature Detecting “Undetectable” CSS Features with @supports named-feature()

**[Bram.us](https://daily.dev/sources/bram)** · 7 min read · 27 upvotes · 2 comments

## Summary

CSS gained a new @supports named-feature() function to detect implementation-specific behaviors that traditional @supports checks cannot catch, such as partial feature support or the interaction between two properties. The classic example is 'Flexbox gap', where browsers could not distinguish gap working with Grid versus Flex layouts. The CSS Working Group adopted David Baron's proposal, and two keywords now exist: anchor-position-follows-transforms (supported in Chrome 150, Firefox 156, Safari Technology Preview) and single-axis-scroll-container (supported in Chrome 153, not yet in Firefox or Safari). The author proposed both keywords and worked directly with the Safari team to get support merged.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.bram.us/2026/08/27/feature-detecting-undetectable-css-features-with-supports-named-feature>

## Questions this post answers

### How do I feature detect CSS @supports named-feature() and what keywords are currently supported?

@supports named-feature() is a CSS conditional rule function that takes a predefined keyword to detect specific behavior changes not catchable by standard @supports checks. Two keywords exist: anchor-position-follows-transforms, for transform-aware anchor positioning, and single-axis-scroll-container, for per-axis sticky scroll containers. named-feature() itself ships in Chrome 150, Firefox 156, and Safari Technology Preview.

_Track emerging CSS @supports capabilities like named-feature() on daily.dev before betting a layout fix on them._

### How do I detect whether a browser supports Flexbox gap versus only Grid gap in CSS?

There was historically no reliable way: @supports (gap: 1em) alone returns true because gap already worked for Grid, and combining checks like @supports (display: flex) and (gap: 1em) only verifies that both conditions parse, not that they work together in the browser's implementation. This gap in tooling, filed as w3c/csswg-drafts#5062 after Chromium shipped Flexbox gap in 2020, was one motivation behind creating named-feature().

_Developers debugging CSS feature-detection edge cases like this can follow updates on daily.dev._

### How do I detect if a browser respects transforms on anchored elements with CSS Anchor Positioning?

Use @supports named-feature(anchor-position-follows-transforms), a keyword resolved via w3c/csswg-drafts#13678. Transform-aware anchor positioning shipped in Chrome 144, is included in the upcoming Safari 27 (with named-feature support merged into WebKit), and is being prototyped in Firefox, which plans to ship named-feature() support simultaneously with the feature itself.

_Developers rolling out anchor positioning can watch this browser support timeline unfold on daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@matchpoint** · 1 upvotes

> nice takes
>
>
> ![GIF](https://static.klipy.com/ii/e293a233a303a98e471f78d04e13a1b0/5d/64/RRx0nSWu.gif)

**@agustinbarrientos** · 0 upvotes

> Every new `named-feature()` keyword should ship with its matching web-platform-test contract so the keyword and behavior can't drift into another false-negative window.

## Similar posts on daily.dev

- [Detecting at-rule support in CSS with @supports at-rule\(@keyword\)](https://daily.dev/posts/detecting-at-rule-support-in-css-with-supports-at-rule-keyword--yasvrewql) · Bram.us · 18 upvotes · 0 comments
- [Issue \#753: The new CSS feature devs love most but can't rely on yet — Frontend Focus](https://daily.dev/posts/issue-753-the-new-css-feature-devs-love-most-but-can-t-rely-on-yet-frontend-focus-95lejbgqd) · Frontend Focus · 1 upvotes · 0 comments
- [CSS Recently In All Browsers · April 26, 2026](https://daily.dev/posts/css-recently-in-all-browsers-april-26-2026-kepfatjko) · Adam Argyle · 57 upvotes · 4 comments
- [CSS Features That Are Safe to Ship Without a Fallback](https://daily.dev/posts/css-features-that-are-safe-to-ship-without-a-fallback-4qejdvj37) · Medium · 1 upvotes · 0 comments

---

Tags: [#css](https://daily.dev/tags/css), [#chromium](https://daily.dev/tags/chromium)

[View this post on daily.dev](https://daily.dev/posts/feature-detecting-undetectable-css-features-with-supports-named-feature--f27ypgr3d)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Feature Detecting “Undetectable” CSS Features with @supports named-feature()","url":"https://daily.dev/posts/feature-detecting-undetectable-css-features-with-supports-named-feature--f27ypgr3d","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/feature-detecting-undetectable-css-features-with-supports-named-feature--f27ypgr3d"},"datePublished":"2026-08-27T21:35:12.941Z","dateModified":"2026-09-13T19:46:30.049Z","description":"CSS gained a new @supports named-feature() function to detect implementation-specific behaviors that traditional @supports checks cannot catch, such as partial...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ea129bb8ea11cecd87dfd1e7c84e1156?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ea129bb8ea11cecd87dfd1e7c84e1156?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Bram.us","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Bram.us","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3db2116954be44df873ec24cf0e03d14","url":"https://daily.dev/sources/bram"},"commentCount":2,"discussionUrl":"https://daily.dev/posts/feature-detecting-undetectable-css-features-with-supports-named-feature--f27ypgr3d","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":27},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"css,chromium","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Bram.us","item":"https://daily.dev/sources/bram"},{"@type":"ListItem","position":3,"name":"Feature Detecting “Undetectable” CSS Features with @supports named-feature()"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/feature-detecting-undetectable-css-features-with-supports-named-feature--f27ypgr3d","comment":[{"@type":"Comment","text":"nice takes","datePublished":"2026-08-28T02:09:54.119Z","url":"https://daily.dev/posts/f27YPGR3D#c-Ggi9Oal3q","author":{"@type":"Person","name":"Numb Code","url":"https://daily.dev/matchpoint","image":"https://lh3.googleusercontent.com/a/ACg8ocJ86YIewk804FajHaEbzIBiQa9RFZVR0fs-vBpSZ3ObyDY6Qz8=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Every new named-feature() keyword should ship with its matching web-platform-test contract so the keyword and behavior can’t drift into another false-negative window.","datePublished":"2026-08-30T07:32:26.642Z","url":"https://daily.dev/posts/f27YPGR3D#c-pWVONdb05","author":{"@type":"Person","name":"Agustin Barrientos","url":"https://daily.dev/agustinbarrientos","image":"https://media.daily.dev/image/upload/s--5ayxQnqn--/f_auto/v1788281802/avatars/avatar_wQYYVe5Tbj0NJ7C7qPoa8?_a=BAMAMicg0"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/feature-detecting-undetectable-css-features-with-supports-named-feature--f27ypgr3d#faq","mainEntity":[{"@type":"Question","name":"How do I feature detect CSS @supports named-feature() and what keywords are currently supported?","acceptedAnswer":{"@type":"Answer","text":"@supports named-feature() is a CSS conditional rule function that takes a predefined keyword to detect specific behavior changes not catchable by standard @supports checks. Two keywords exist: anchor-position-follows-transforms, for transform-aware anchor positioning, and single-axis-scroll-container, for per-axis sticky scroll containers. named-feature() itself ships in Chrome 150, Firefox 156, and Safari Technology Preview. Track emerging CSS @supports capabilities like named-feature() on daily.dev before betting a layout fix on them."}},{"@type":"Question","name":"How do I detect whether a browser supports Flexbox gap versus only Grid gap in CSS?","acceptedAnswer":{"@type":"Answer","text":"There was historically no reliable way: @supports (gap: 1em) alone returns true because gap already worked for Grid, and combining checks like @supports (display: flex) and (gap: 1em) only verifies that both conditions parse, not that they work together in the browser's implementation. This gap in tooling, filed as w3c/csswg-drafts#5062 after Chromium shipped Flexbox gap in 2020, was one motivation behind creating named-feature(). Developers debugging CSS feature-detection edge cases like this can follow updates on daily.dev."}},{"@type":"Question","name":"How do I detect if a browser respects transforms on anchored elements with CSS Anchor Positioning?","acceptedAnswer":{"@type":"Answer","text":"Use @supports named-feature(anchor-position-follows-transforms), a keyword resolved via w3c/csswg-drafts#13678. Transform-aware anchor positioning shipped in Chrome 144, is included in the upcoming Safari 27 (with named-feature support merged into WebKit), and is being prototyped in Firefox, which plans to ship named-feature() support simultaneously with the feature itself. Developers rolling out anchor positioning can watch this browser support timeline unfold on daily.dev."}}]}
```

