Winging back to the Chrome bug I mentioned, here’s the issue: `allow-discrete` erroneously does not work on custom properties – https://issues.chromium.org/issues/360159391
There technically is a workaround for it (by animating `content`) but I haven’t been able to consistently make it work.
Gonna see who I can poke internally to get the ball rolling on it ;)
To close off, here’s a demo on @codepen for you to play with. Enjoy!
https://codepen.io/bramus/pen/WNqKqxj?editors=1111