4 ms·
sorry, i misled you. you cannot add sticky to thead, you have to apply it to the cells: thead th { position: sticky; top: 0; background:
by leeoniya 7y ago
sorry, i misled you. you cannot add sticky to thead, you have to apply it to the cells:
thead th {
position: sticky;
top: 0;
background: white;
}
- dewey 7y agoFor some reason that works locally but not when deployed. Slightly confused. Thanks for the hint, I'll figure it out :)