scroll stacked divs code example Example: scrollable div and unscrollable middle component .sidebar { position: sticky; top: 0; height: 100vh; }