Skip to content

Instantly share code, notes, and snippets.

@lukasrudnik
Created June 21, 2017 12:49
Show Gist options
  • Save lukasrudnik/c7efb9acef1d7889145db9676b918056 to your computer and use it in GitHub Desktop.
Save lukasrudnik/c7efb9acef1d7889145db9676b918056 to your computer and use it in GitHub Desktop.
Solutions Flexbox Defense
1.
justify-content: center;
2.
justify-content: flex-end;
justify-content: center;
justify-content: flex-end;
3.
justify-content: center;
justify-content: space-between;
4.
align-items: flex-end;
justify-content: center;
5.
justify-content: space-around;
align-items: flex-end;
justify-content: center;
justify-content: center;
6.
justify-content: space-between;
align-items: center;
7.
flex-direction: column;
flex-direction: column;
8.
flex-direction: column;
align-items: center;
flex-direction: column;
9.
justify-content: space-around;
flex-direction: row-reverse;
flex-direction: row-reverse;
align-items: center;
justify-content: space-around;
10.
justify-content: space-around;
order: 1;
justify-content: space-around;
order: -1;
11.
justify-content: space-between;
align-self: flex-end;
align-self: flex-end;
12.
justify-content: space-between;
align-items: center;
order: 1;
align-self: center;
align-self: center;
align-self: flex-end;
order: 1;
@asm-dev
Copy link

asm-dev commented Nov 10, 2022

Wave 11

.tower-group-1 {
display: flex;
justify-content: space-between;
}
.tower-1-1 {
}
.tower-1-2 {
}
.tower-1-3 {
align-self: flex-end;
}
.tower-1-4 {
}

@vishnusaimanchineella
Copy link

#10 Did not work.

@Baconalwaysbetterthanyou
Copy link

Baconalwaysbetterthanyou commented Feb 25, 2024

#9
.tower-group-1 {
display: flex;
justify-content: space-around; ;
flex-direction: row-reverse;
flex-direction: row-reverse; ;
align-items: center; ;
justify-content: space-around;
}
.tower-group-2 {
display: flex;
flex-direction: column;
flex-direction: row-reverse;
justify-content: space-around;
align-items: center;
}

@Baconalwaysbetterthanyou

click this link for the full codes for flex box froggy! https://gist.github.com/Baconalwaysbetterthanyou/d64e001541eec4503cc9d94e61a77b61

@Baconalwaysbetterthanyou

#10 Did not work.
click this link for the full codes for flex box froggy!
https://gist.github.com/Baconalwaysbetterthanyou/d64e001541eec4503cc9d94e61a77b61

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