简体   繁体   English

Flexbox 游戏 - 不能使用顺序和自我对齐

[英]Flexbox game - can't use order and align self

here's the link of the game: https://flexboxfroggy.com/这是游戏的链接: https : //flexboxfroggy.com/

I have a problem with level 24, the last level: The yellow frogs have to go inside yellow lilypads while the green frogs and a red frog have to inside green lilypads and a red lilypad.我对第 24 级,最后一个级别有一个问题:黄色青蛙必须进入黄色睡莲,而绿色青蛙和红色青蛙必须进入绿色睡莲和红色睡莲。 How can I do that?我怎样才能做到这一点?

Thanks.谢谢。

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

Have you done level 1 to 23?你完成了 1 到 23 级吗?

I just played around and followed the previous levels and came up with this:我只是玩玩并遵循以前的级别并提出了这个:

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

Fun game though.不过游戏挺好玩的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM