Tuesday, February 07, 2012

How to Create a CSS3-Only Tab Control Using the :target Selector

You’ll find many CSS3-only tab controls throughout the web. However, many have issues such as:

-not displaying any tab content if you link to the page without a hash selector, i.e. you link to mypage.html rather than mypage.html#tab1.

-not highlighting the active tab.

By SitePoint