Skip to content

Commit 37441ea

Browse files
committed
Finished exercise
1 parent f8343b3 commit 37441ea

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

flex/07-flex-layout-2/style.css

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ body {
3232
body {
3333
display: flex;
3434
flex-direction: column;
35+
flex: 1;
3536
}
3637

3738
ul,
@@ -63,13 +64,25 @@ a {
6364
min-width: 300px;
6465
padding: 16px;
6566
}
67+
6668
.cards {
6769
display: flex;
6870
flex-direction: row;
69-
flex: 0 1 auto;
70-
gap: 20px;
71+
flex-wrap: wrap;
72+
gap: 32px;
73+
justify-content: space-around;
74+
align-content: center;
75+
padding: 32px;
7176
}
7277

7378
.card {
7479
min-width: 200px;
80+
max-width: 300px;
81+
}
82+
83+
.footer {
84+
display: flex;
85+
flex-direction: column-reverse;
86+
justify-content: center;
87+
align-items: center;
7588
}

0 commit comments

Comments
 (0)