CSS, Grid.
You’re right to be wondering why there are only two visible images — the panels are overlapping. This is needed because the angles we create overlap and we need the image to be visible. If each was in its cell we wouldn’t get the same effect. If we look at the layering in 3D — thanks to Mandy