Today, I was positively surprised by CSS. I needed sticky headers in a div with overflow: scroll, and I found out about position: sticky; top 0px;. I was already bracing myself to write some strange JS code to get this feature.
Today, I was positively surprised by CSS. I needed sticky headers in a div with overflow: scroll, and I found out about position: sticky; top 0px;. I was already bracing myself to write some strange JS code to get this feature.