An Ajax-y CSS Tutorial: Part 1

No Comments Yet March 18, 2012

Back in 2010, Chris Coyier wrote an article on using jQuery to implement an AJAX-powered content updater, so that a user could view multiple pages without a page refresh. It was cool, well thought out, and thought-provoking, for me at least. I got to wondering “could you do something similar with CSS”. Well, no, you can’t do AJAX with CSS. But you can do something that looks kind of similar, using CSS’s :target pseudo-class.