Getting Started with Anchor Positioning
For decades, one of the most notoriously-challenging problems on the web has been sticking one element to another element, for things like tooltips and nested menus. The CSSWG has decided to provide a first-class solution to this problem, and it’s pretty friggin’ cool! In this tutorial, I’ll share the most useful parts I’ve found from this modern CSS feature.
原文:https://www.a8q9.cn/en/article/getting-started-with-anchor-positioning-6aca0c.html