Great tutorial and worth the read! ...but this is a no go for production environments. no touch events or accessibility. :(
Hey! I think this is excellent. While there are plenty of folks who would choose to implement this in JS, doing it in CSS at least shows a deep understanding of the language.
And, you're really doing good things by writing up your process. Keep it up.
Someone with a deep understanding of HTML and CSS would never choose to implement this in HTML and CSS.
Well yeah I get that it's to appease beginners, it's just that your solution is so needlessly complex and as Alex noted - much more complex than the relatively simple few lines of JS required.
Ultimately, it's just bad code and I don't like encouraging beginners down this path. I think it would be great if the article came with a very basic JS solution at the bottom, which might encourage beginners to give it a try.
Creative. I'll give you that.