I'm trying to create a responsive column table but I would also like to include the relevant header with each column.
At the moment with the CSS:
@media all and (max-width:500px){
table{
width:100%;
}
td{
display:block;
width:100%;
}
tr{
display:block;
margin-bottom:30px;
}
}
I get what it is solved on Responsive table by columns
However my full "row" of th inside my thead is still displaying as a normal row and I would like it to be split by column as well.
Is there any way I could achieve that?