News for hackers. Stuff that matters.
Re:98.css by jordanscales on Friday July 24, 2026 @06:40AM (#49033614)
The tabs on the home page aren't wired up because doing so requires JavaScript

> Tabs should be managed by adding custom javascript code. All you need is to add the [aria-selected=true] attribute to the active tab.

Re:98.css by efreak on Friday July 24, 2026 @03:47PM (#49040775)
I have a vague feeling that tabs should be doable in pure CSS/HTML, but I might be thinking of menus (where the menu is a sub element of the button and thus visibility can depend on mouse position)
Re:98.css by Gabrys1 on Wednesday August 05, 2026 @02:54PM (#49187285)
one can do one level of tabs using # fragments and :target selector if I recall correctly