You can use my Pure HTML Out-Of-Order Streaming (PHOOOS) technique and a pure CSS framework instead: https://github.com/niutech/phooos (demo: https://kodus.pl).
I have been battling with my web devs not to use JS and I have been winning.
Every time they say they can’t do x without JS, I prove them wrong with modern CSS.
But this will never be replaced for a very long time in web development.
You can use my Pure HTML Out-Of-Order Streaming (PHOOOS) technique and a pure CSS framework instead: https://github.com/niutech/phooos (demo: https://kodus.pl).