What’s the Deal With :Target in CSS? | Design Shack
►http://designshack.net/articles/css/targetcss
Now that we’ve got a simple demo up and running that utilizes unique IDs and fragment identifiers, it’s time to pull out our :target pseudo class. Anything within a :target style block will be activated only when a fragment identifier is currently active in the URI. In a way, :target can be used to create the ever elusive CSS click event.