Create a scroll window effect from CSS layout
The trick here is to use CSS subgrid + position: sticky.
The trick here is to use CSS subgrid + position: sticky.

You can stack elements by putting them in the same cell with grid-row and grid-column.

Put an element in the second column spanning all rows. Inset it and give it a big outline.

Stick the frame and backdrop whilst scrolling the content.








