My biggest issue with this is it appends to the browser history which means if you'll need to press the back button twice to get out of the page.
Yes that's definitely an issue I mentioned in the article as well. It's just a matter of weighing if it's worth it for the functionality
Neat! I was also impressed with your other article:
":empty"... who knew...
You can do a very similar thing using the :focus pseudo-element (and it doesn't affect browser history): http://joshnh.com/weblog/heres-a-neat-trick-using-the-focus-pseudo-class/
That's neat, but we can't apply :focus to just any element so it won't work for some of the examples I mentioned in my article.
Wow thank you! :)