- From: Roman Komarov via GitHub <sysbot+gh@w3.org>
- Date: Sun, 26 Mar 2023 10:41:45 +0000
- To: public-css-archive@w3.org
I would want to copy one use-case from the anchoring to the cursor issue (https://github.com/w3c/csswg-drafts/issues/8639) here, as if we could use it for background-position or other properties, this would unlock a lot of things for which developers currently have to use JS to assign the mouse coordinates. > - A hover/focus state that follows the pointer/focus. There are probably hundreds of examples of this, where people are implementing something like this by either adding js that assigns a local x and y coordinates for a button to show a shiny gradient, like in this example by @LeaVerou — https://codepen.io/leaverou/pen/qBEYGeq — though this would require us to use the anchor values not just for the inset properties or dimensions, but for things like background-position. -- GitHub Notification of comment by kizu Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8586#issuecomment-1484057023 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 26 March 2023 10:41:47 UTC