I\'m having real difficulty figuring how to do the following:
I want to have two tabs (horizontal next to each other), one for search (and labelled as such) and another
This is how you do it with the :target pseudo class
:target
FIDDLE
Search Post
li { display: inline-block; } .search { display: block; } .post { display:none; } .post:target { display: block; } .post:target + .search { display: none; }