Skip to content

Commit 7cc8336

Browse files
committed
Finished exercise
1 parent 41afe09 commit 7cc8336

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

flex/06-flex-layout/style.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,45 @@ input {
2525
width: 400px;
2626
margin-bottom: 16px;
2727
}
28+
29+
/* solution */
30+
31+
body {
32+
display: flex;
33+
flex-direction: column;
34+
justify-content: space-between;
35+
}
36+
37+
.header,
38+
.footer {
39+
display: flex;
40+
justify-content: space-between;
41+
}
42+
43+
ul,
44+
il {
45+
list-style: none;
46+
display: flex;
47+
margin: 15px;
48+
padding: 0;
49+
gap: 10px;
50+
}
51+
52+
a {
53+
text-decoration: none;
54+
color: black;
55+
}
56+
57+
.content {
58+
display: flex;
59+
flex-direction: column;
60+
align-items: center;
61+
}
62+
63+
.footer {
64+
background-color: #eee;
65+
}
66+
67+
button {
68+
padding: 10px;
69+
}

0 commit comments

Comments
 (0)