2 hours ago · Tech · 0 comments

Here's some rad CSS that just hit baseline between October 2025 - April 2026. At this point with the following features, the "I can't use it" vibe can shed away. Anchor Positioning # Anchor positioning lets you natively tether components to target elements without adjusting DOM semantics or crowding the main thread. This widget doesn't show green across the board as of writing this, there are sub features that aren't all supported, but the general featureset is ready. Checkout Tab's talk about anchor called Anchor Positioning at CSS Day 2025. Checkout my post on AIM if you missed it, neat anchor technique for FLIP-like transitions with anchor. @scope # CSS selector scoping, not style scoping; a common misconception. However! With @scope we can simplify naming conventions or robobarf classnames just to avoid global cascade collisions. The "donut" feature is very special, it can limit styles from cascading into nested components by setting an end to the selector (a donut hole 🍩). Chris…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.