CSS-formatting stacked tabs

This thread has a snippet you could examine to find the selectors you need:

And here’s a general guide to finding that sort of info: