I wonder how to obtain the following layout.
On medium and large devices I'd like to have a 2 rows and 2 columns layout (2 x 2 matrix).
On small (and extra small) devices or when resizing to small, I'd like to have a 4 rows and one column matrix.
I'll illustrate it via ascii.
1) 2 x 2 matrix (medium and large):
(b1) (b2)
____________
r1c1 r1c2
r2c1 r2c2
2) 4 x 1 matrix (small and extra small):
(b1)
r1c1
r2c1
(b2)
r1c2
r2c2
The important thing here is, the block wise merging of columns and rows when resizing to small. A block in this case is made out of two rows per one column. This is indicated by (b1), (b2).
This kind of logic shall be expandable to multiple rows and columns.
I might be barking up the wrong tree.
In general I'd like to grid-align text below images. In a block the first row is always the image, the second row is always the justified text.
So how to overcome this?