CSS Anchor Positioning is a relatively new browser API, first shipped in stable releases in 2024. As of 2025, support is solid in Chromium-based browsers but incomplete elsewhere. Before shipping anchor-positioned UI to production, it’s worth understanding the current landscape and planning a fallback strategy.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/toolwind/anchors/llms.txt
Use this file to discover all available pages before exploring further.
Current support status
| Browser | Support |
|---|---|
| Chrome 125+ | Full support |
| Edge 125+ | Full support |
| Firefox | Behind a flag (not enabled by default) |
| Safari | Not supported |
| Samsung Internet | Full support (based on Chromium) |
| Opera | Full support (based on Chromium) |
Browser support data reflects the state as of 2025. Check MDN’s browser compatibility table for the latest figures.
No polyfill included
@toolwind/anchors is a utility-generation plugin only. It emits Tailwind utility classes that map directly to native CSS Anchor Positioning properties and functions. The plugin does not include any JavaScript polyfill or runtime shim. If you need polyfilled support for non-Chromium browsers, you will need to integrate a separate polyfill such as the CSS Anchor Positioning Polyfill maintained by OddBird.
Feature detection
The safest way to use CSS Anchor Positioning today is with the CSS@supports rule. This lets you apply anchor-positioned styles only in browsers that support the API, and provide a functional fallback for others.
You can wrap entire blocks of anchor utility classes in a
@supports check. In Tailwind v4, you can write this directly in your CSS. In v3, use a custom CSS file or the addBase / addUtilities plugin API.