Let's build coolest web components purely in CSS, NO JavaScript
CSS techniques like this display some impressive ingenuity, but I wonder if anyone actually uses them in production. I would never let this kind of code into a production application because a) it mostly involves things I would call "hacks" and require other developers who maintain it to go beyond typical CSS knowledge, b) there is no separation of behaviour from styling, and reading the CSS it is not obvious which CSS rules are "just styling" and which are behaviour, and c) if and when you hit some barrier where the component/UI needs feature X and you can't do it in CSS, you need to scrap a bunch of your code.<p>I would love to hear from anyone who actually uses this kind of code for large web application.