Basic use
example.css
.btn { anchor-name: --menu; }
.tip {
position: absolute;
position-anchor: --menu;
position-area: block-end;
}
Anchor positioning lets a positioned element size and place itself relative to another element marked as an anchor.
.btn { anchor-name: --menu; }
.tip {
position: absolute;
position-anchor: --menu;
position-area: block-end;
}.btn { anchor-name: --menu; }
.tip {
position: absolute;
position-anchor: --menu;
position-area: block-end;
}.btn { anchor-name: --menu; }
.tip {
position: absolute;
position-anchor: --menu;
position-area: block-end;
}Keep learning CSS.
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
2 people found this page helpful