Skip to content

Instantly share code, notes, and snippets.

@lucprincen
Last active July 17, 2025 06:48
Show Gist options
  • Save lucprincen/9548ab19bfc34f10ef8a to your computer and use it in GitHub Desktop.
Save lucprincen/9548ab19bfc34f10ef8a to your computer and use it in GitHub Desktop.
flex-flow:column-reverse wrap-reverse;
justify-content:center;
align-content:space-between;
@abcdafin
Copy link

Flexbox Properties Explanation

/* Setting flex-direction to column-reverse
   This makes the flex container's main axis vertical, and the flex items are arranged from the bottom to the top. */
flex-direction: column-reverse;

/* Setting flex-wrap to wrap-reverse
   This allows flex items to wrap onto multiple lines, but in reverse order (from bottom to top or right to left depending on flex-direction). */
flex-wrap: wrap-reverse;

/* Setting justify-content to center
   This centers the flex items along the main axis (vertical in this case due to column-reverse). */
justify-content: center;

/* Setting align-content to space-between
   This distributes flex lines evenly along the cross axis with space between them. */
align-content: space-between;

@B-o0O
Copy link

B-o0O commented Nov 4, 2024

It is valid! 😅
Scherm­afbeelding 2023-08-02 om 15 56 50

How did you get your frogs upside down lol

😂😂😂😂😂 LOL
😂😂😂😂😂 LOL hhhhhh

@ivan-developer-01
Copy link

ivan-developer-01 commented Nov 8, 2024

At first I also forgot about the wrap-reverse but then I started rummaging at their CSS property descriptions and found out about the wrap-reverse thing.

(I read this only after solving this myself)

@megapangastuti
Copy link

Screenshot 2025-02-13 231541
My solution!

@kritikasisodia
Copy link

Screenshot (75)

@AnmolShahid
Copy link

AnmolShahid commented Apr 23, 2025

justify-content:center;
align-content:space-between;
flex-wrap:wrap-reverse;
flex-direction:column-reverse;

for me this solution works> i really enjoy it: <3
Screenshot 2025-04-24 at 9 32 30 AM

@Eriarer
Copy link

Eriarer commented May 6, 2025

flex-flow: row-reverse wrap;
justify-content: center;
align-content: space-between;
rotate: 90deg;

I never imagine wrap-reverse was a thing but if you dont know that you can do this too:
image

@FatimaZohra1724
Copy link

Screenshot 2025-05-24 074207
My solution is this.

@AishaA-cpu
Copy link

Screenshot 2025-07-04 at 19 06 08

@Somtofodum
Copy link

Screenshot 2025-07-17 at 07 46 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment