How to use the :target selector

2nd Feb 2008

Brian Suda shows us how to use the :target pseudo element for showing and hiding HTML content. I can see me using this technique rather than something like these jQuery Tabs which I've used in the past.

css