Skip to content

Instantly share code, notes, and snippets.

@lucprincen
Last active March 20, 2025 17:05
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;
@tejalbangali
Copy link

Here is my solution -
It's really easy, just some trial and error methods with the CSS will get you close to the solution.

Screenshot 2023-10-27 171954

@skyisnotthelimit-fr
Copy link

Haha, I must say, the frog flipping with "transform" is pretty creative!

I did it with 3 lines, which is still valid :

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

BUT, you could also do it in this way if you must solve it in 4 lines:

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

"flex-flow" is basically a shortcut if you want to use flex-direction & flex-wrap at the same time :)

@hmzeahmd
Copy link

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

@Halcyon666
Copy link

Here is my solution - It's really easy, just some trial and error methods with the CSS will get you close to the solution.

Screenshot 2023-10-27 171954

IMG_0313

the same we are.

@yoyford
Copy link

yoyford commented Feb 10, 2024

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

here's mine

@sayak2k1maruti
Copy link

flex-flow:column-reverse wrap;
justify-content: center;
align-content: space-between;
transform: scaleX(-1);

@termos22
Copy link

It is valid! ๐Ÿ˜…
Schermยญafbeelding 2023-08-02 om 15 56 50

How did you get your frogs upside down lol

look at first and last line of code.

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

if you remove both -reverse in first line
and add

rotate: 180deg;

at the end you will achieve rotated valid solution

@shaeakh
Copy link

shaeakh commented Mar 10, 2024

thanks a lot i missed the
align-content:space-between;
Screenshot (24)

@mukarramjavid
Copy link

It is valid! ๐Ÿ˜…

Schermยญafbeelding 2023-08-02 om 15 56 50

๐Ÿ˜…๐Ÿ˜…๐Ÿ˜…๐Ÿ˜…

@linj121
Copy link

linj121 commented Mar 29, 2024

rotate: 180deg; lmao๐Ÿ˜…

@kt-anas
Copy link

kt-anas commented May 7, 2024

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

@omidAkharbin
Copy link

rotate(90deg); ๐Ÿ˜…
frogy

@nknaleena101
Copy link

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

@NatMat250
Copy link

Hello, my solution is:

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

Geez I am so brain dead. "justify-content: center" was my issue. I just had a typo and was getting frustrated because I was sure it would work.

@ibndiaye
Copy link

My solution:

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

@ZincNitrogen
Copy link

ZincNitrogen commented May 31, 2024

flex-flow: column-reverse wrap-reverse;
align-items: flex-end;
justify-content: center;
align-content: space-between;

@ShirajPriyansh
Copy link

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

@calvintj
Copy link

calvintj commented Jun 7, 2024

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

@mahidzzr
Copy link

I am a newbie, I did not even knew about wrap-reverse.
I was thinking if there was a way to switch position between 2 line and even rechecked the order exercises in previous levels.
There should have at lest one exercise for wrap-reverse.

@keshavbansal5766
Copy link

sir, my solution is here,

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

@SujalD04
Copy link

SujalD04 commented Jul 1, 2024

Haha, had to look up wrap-reverse since I hadn't learnt about it. Managed to figure out the rest.

Here's my code:
flex-flow: column-reverse wrap-reverse;
justify-content: center;
align-items: flex-end;
align-content: space-between;

Flexbox froggy last level

@levisstrauss
Copy link

#pond {
display: flex;
flex-flow: column-reverse wrap-reverse;
justify-content: center;
align-content: space-between
}

You have to solve the problem only with the specified properties.

Screenshot 2024-07-27 at 9 17 14โ€ฏPM

@Franseun
Copy link

Franseun commented Aug 1, 2024

flex-direction: column-reverse;
flex-wrap: wrap-reverse;
align-content: space-between;
justify-content: center;
Screenshot 2024-08-01 153718

@Viv319
Copy link

Viv319 commented Aug 9, 2024

it took me some time. I was using align-self but I have to use align-content after analyzing finally I got it.
flex-direction: column-reverse;
flex-wrap: wrap-reverse;
align-content: space-between;
justify-content: center;

@kt-anas
Copy link

kt-anas commented Aug 9, 2024

align-items: flex-end;
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)

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