Last active
February 7, 2025 03:44
-
-
Save Baconalwaysbetterthanyou/d64e001541eec4503cc9d94e61a77b61 to your computer and use it in GitHub Desktop.
flexbox defense answers (all correct)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
level 1 | |
.tower-group-1 { | |
display: flex; | |
justify-content: center; | |
} | |
level 2 | |
.tower-group-1 { | |
display: flex; | |
justify-content: flex-end; | |
} | |
.tower-group-2 { | |
display: flex; | |
justify-content: center; | |
} | |
.tower-group-3 { | |
display: flex; | |
justify-content: flex-end; | |
} | |
level 3 | |
.tower-group-1 { | |
display: flex; | |
justify-content: center; | |
} | |
.tower-group-2 { | |
display: flex; | |
justify-content: center; | |
justify-content: space-between; | |
} | |
level 4 | |
.tower-group-1 { | |
display: flex; | |
align-items: flex-end; | |
} | |
.tower-group-2 { | |
display: flex; | |
align-items: flex-end; | |
} | |
level 5 | |
.tower-group-1 { | |
display: flex; | |
justify-content: space-around; | |
align-items: flex-end; | |
} | |
.tower-group-2 { | |
display: flex; | |
justify-content: center; | |
} | |
.tower-group-3 { | |
display: flex; | |
justify-content: center; | |
} | |
level 6 | |
.tower-group-1 { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
} | |
level 7 | |
.tower-group-1 { | |
display: flex; | |
flex-direction: column; | |
} | |
.tower-group-2 { | |
display: flex; | |
flex-direction: column; | |
} | |
level 8 | |
.tower-group-1 { | |
display: flex; | |
flex-direction: column; | |
} | |
.tower-group-2 { | |
display: flex; | |
align-items: center; | |
flex-direction: column; | |
} | |
level 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; | |
} | |
level 10 | |
.tower-group-1 { | |
display: flex; | |
justify-content: space-around; | |
} | |
.tower-1-1 { | |
order: 0; | |
} | |
.tower-1-2 { | |
order: 2; | |
} | |
.tower-1-3 { | |
order: 1; | |
} | |
.tower-group-2 { | |
display: flex; | |
justify-content: space-around ; | |
flex-direction: row-reverse; ; | |
flex-direction: row-reverse; ; | |
align-items: center; ; | |
justify-content: space-around; | |
} | |
.tower-2-1 { | |
} | |
.tower-2-2 { | |
order: -1; | |
} | |
.tower-2-3 { | |
} | |
level 11 | |
.tower-group-1 { | |
display: flex; | |
justify-content: space-between; | |
} | |
.tower-1-1 { | |
align-self: flex-end; | |
} | |
.tower-1-2 { | |
} | |
.tower-1-3 { | |
align-self: flex-end; | |
} | |
.tower-1-4 { | |
} | |
level 12 | |
.tower-group-1 { | |
display: flex; | |
justify-content: space-between; | |
} | |
.tower-1-1 { | |
order: -1; | |
} | |
.tower-1-2 { | |
align-self: center; | |
} | |
.tower-1-3 { | |
align-self: center; | |
} | |
.tower-1-4 { | |
align-self: center; | |
} | |
.tower-1-5 { | |
order: 1; | |
align-self: flex-end; | |
} |
gracias bb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hope you guys like the codes!