Hi everybody…
I’m tring to make alternate rows in a query loop but without success…
I wolud like to have the big image on the left on the “odd” rows and the opposite on the “even” rows
I tried before using flex and later using grid, but the problem is that I cannot target the odd or even rows trought the loop…
This is my grid structure: (1 grid and 1 flex)
I tried nth:child(odd) using flex-reverse for flex test and seems not to work… Also tried changing grid-column and grid-row but nothing (this on the container of the loop)
In the test page I have both grid and flex example but my goal is to use grid where I have also to resolve a thin rows of background between the small images on the right (2 and 3 img)
I tried to implement solutions that I saw in two posts here in the forum but after an intere afternon i gave up
My test page is:
https://dev.marcellomontarsi.com/brx24/grid-test/
Thanksin advance to evreyone