CSS Anchor Positioning Polyfill
Browser Support (needs testing)
- Firefox 54+
- Chrome 51+
- Edge 79+
- Safari 10+
Getting Started
To use the polyfill, add this script tag to your document <head>
:
<script type="module">
if (!("anchorName" in document.documentElement.style)) {
import("https://unpkg.com/@oddbird/css-anchor-positioning@0.0.1");
}
</script>
You can view a more complete demo here.