This project aims to make it easy for CSS to have access to things only JS could have previously, all through CSS variables. This makes it way easier for CSS to still be responsible for the presentation layer, without having to add animations, transitions and status information through JS.
I gotta point out that the performance on that site specifically is pretty horrid. It’s probably better used sparingly, but I get why the demo site would use it everywhere 😅