- From: Pavel Djundik via GitHub <sysbot+gh@w3.org>
- Date: Tue, 06 May 2025 07:52:42 +0000
- To: public-css-archive@w3.org
I agree this would be useful for :before/:after to have implicit anchors. I updated my css tooltips to use anchors, and currently had to do this:
```css
.tooltipped {
&:hover {
anchor-name: --tooltip-anchor;
&:after {
position-anchor: --tooltip-anchor;
}
}
&:focus-visible {
anchor-name: --tooltip-anchor-focus;
&:after {
position-anchor: --tooltip-anchor-focus;
}
}
}
```
--
GitHub Notification of comment by xPaw
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11792#issuecomment-2853598443 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 6 May 2025 07:52:42 UTC