When writing CSS for a HTML table, keep in mind that tables can have <th> headers across rows (<thead>) AND down columns (<tbody>).
Use "thead th” if you want to design for the table head.
Here’s a great writeup from W3C WAI: https://www.w3.org/WAI/tutorials/tables/two-headers/
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!