> So it's possible with a tiny bit of JS
Not really. expression() was evaluated by just moving the mouse around, which is what allowed attaching stuff to your cursor with "just some CSS"
https://web.archive.org/web/20120420154658/http://msdn.micro...
To do what expression() could do you need several event listeners at least which, I mean, of course you can still do it, but it's really unrelated to CSS Properties and just JavaScript at this point.