css anchor positioning
the css anchor positioning module defines features that allow you to tether elements together. certain elements are defined as anchor elements; anchor-positioned elements can then have their size and position set based on the size and location of the anchor elements to which they are bound.
tooltipwith popover and css anchor positioning
tooltip1 content
this tooltip will automatically flip from top to bottom when it goes
offscreen.
tooltip3 content
dropdownwith popover and css anchor positioning
browser support
chrome | firefox | safari | |
---|---|---|---|
popover | 114 | 125 | 17 |
popovertarget | 114 | 125 | 17 |
:popover-open | 114 | 125 | 17 |
anchor-name | 125 | no | no |
position-anchor | 125 | no | no |
position-area | ? | ? | ? |
position-try-fallbacks | 128 | ? | ? |