- From: Ana Tudor via GitHub <sysbot+gh@w3.org>
- Date: Fri, 20 Oct 2023 15:28:52 +0000
- To: public-css-archive@w3.org
There have been a lot of cases where I used JS strictly to get the pointer position & store it in `--x`, `--y` variables I then used in the CSS. First that comes to mind is this entry & exit aware [button `:hover` effect](https://codepen.io/thebabydino/pen/PoxVZWg). Or this [highlight effect](https://codepen.io/thebabydino/pen/PojJmzo). I also came across this [mouse mask effect](https://codepen.io/alig01/pen/WNLGogV), which relies on JS for other things as well, but can be reduced to [a version](https://codepen.io/thebabydino/pen/gOqYdJd) that only needs the relative position of the cursor. -- GitHub Notification of comment by thebabydino Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6733#issuecomment-1772956851 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 20 October 2023 15:28:53 UTC