Hacker News new | ask | show | jobs
by semolino 217 days ago
That would be awesome — I have found myself wishing for a similar CSS-only solution. In the meantime, I've resorted to measuring the translation distance in JS, and multiplying that by the average duration I want the element to spend in each pixel position (usually a few milliseconds).
1 comments

I found an actual proposal which is very similar: https://github.com/w3c/csswg-drafts/issues/5091