The idea of “CSS Tabs” has been around for a long time. If you Google it, a lot of what you get isstyled CSS tabs, but less stuff on the building of an actually functional tabbed area. At least, functional in the sense as we think of tabbed areas today: click a tab, see a new content area with no page refresh.
So let’s get this thing done the :checked
way, which I think is the cleanest way to do it for now and for the next few years.
Image may be NSFW.
Clik here to view.