- This topic is empty.
December 3, 2018 at 5:39 pm #279821
can help me with a “simple” css, imagine the following scenario:
1 vertical image, 2 horizontals, the ideia is to make both a square;
in the possibility of 4 imagens, 1 vertical and 3 horizontals the vertical align to left and the 3 img on right side, one above other.
if all vertical or horizonta, make them 2 side by side on 2 column.
Desktop View: https://i.imgur.com/XeLOlkO.jpg
Thank you in advance.
best regardsDecember 4, 2018 at 12:43 am #279823Paulie_DModerator
You can’t do that natively with flexbox unless you have additional wrapping elements.
I’d recommend CSS-Grid instead.December 4, 2018 at 2:53 am #279825December 4, 2018 at 4:00 am #279829Paulie_DModerator
This is what I am saying…you can’t do Masonry with flexbox….it’s just not suitable.
He’s the (to my mind) definitive answer – https://stackoverflow.com/questions/44377343/css-only-masonry-layoutDecember 4, 2018 at 3:18 pm #279867
- The forum ‘CSS’ is closed to new topics and replies.