Do you want to see more cool stuff using modern CSS? This time, the tooltip will consider all four positions, and the tail will always point to the anchor. 👀
https://css-tip.com/tooltip-anchor-2/
Still 100% CSS magic! 🪄
Do you want to see more cool stuff using modern CSS? This time, the tooltip will consider all four positions, and the tail will always point to the anchor. 👀
https://css-tip.com/tooltip-anchor-2/
Still 100% CSS magic! 🪄
@scrwd that's not really funky but by design. When you are close to the corners there is no available position in the fallback list that keeps the tooltip visible so it stay as it is.
I can update the code to consider placing the tooltip at the corners as well (and have 8 positions in total) but it would be tricky for the tail. Maybe for a future demo.
@Blacklight @css Interop 2025 looks promising.
Current Firefox passes 14.7% of anchor positioning tests, but their nightly builds currently pass 66.8% of tests.
Given Firefox's release cycle, I can see it passing > 95% within 6 months, so any projects that will take at least 6 months could probably start using it now.