Here is my experiments with the latest CSS Houdini spec

You’ll need the latest Chrome (with Web Platform flag enabled). See support

Source code on GitHub

What is Houdini?