table[data-sticky="yes"] > thead > tr > th[data-sticky="yes"],
table[data-sticky="yes"] > tbody > tr > td[data-sticky="yes"],
table[data-sticky="yes"] > tfoot > tr > td[data-sticky="yes"]
{
position: sticky;
}


table.sticky
{
position: sticky;
top: 0;
}