Kevin Powell - CommunityKP-C
Kevin Powell - Community3y ago
36 replies
Ylli

CSS image aligning problem

Hey everyone! I'm new here so bare with me if I'm not following the guidelines properly.
In my last project I've encountered a 'behavior' that I don't know how to address.
I have 24 images, I'm creating a horizontal scroll using grid. All works well and as expected UNTIL I rotate some of the images in the grid.
Basically what needs to happen is that, 18 of the images are normal, the rest are rotated -95deg + span 2 (while fitting and aligning with the rest of the images).

I've been stuck in this for 3-4 days, googling, youtube, searching up and down and I can't seem to fix it unless I make it too manual.
Was this page helpful?