Skip to content

Commit 0b9e3c7

Browse files
committed
Solve 06-flex-layout
1 parent 7d2f250 commit 0b9e3c7

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

flex/06-flex-layout/style.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ body {
55
margin: 0;
66
overflow: hidden;
77
font-family: Roboto, sans-serif;
8+
display: flex;
9+
flex-direction: column;
10+
justify-content: space-between;
811
}
912

1013
img {
@@ -16,6 +19,7 @@ button {
1619
border: none;
1720
border-radius: 8px;
1821
background: #eee;
22+
padding: 8px;
1923
}
2024

2125
input {
@@ -25,3 +29,33 @@ input {
2529
width: 400px;
2630
margin-bottom: 16px;
2731
}
32+
33+
.header, .footer {
34+
display: flex;
35+
justify-content: space-between;
36+
padding: 16px;
37+
}
38+
39+
.footer {
40+
background-color: lightgray;
41+
}
42+
43+
ul {
44+
display: flex;
45+
list-style-type: none;
46+
gap: 16px;
47+
padding-left: 0px;
48+
margin: 0px;
49+
}
50+
51+
a {
52+
text-decoration: none;
53+
color: rgb(44, 43, 43);
54+
}
55+
56+
.content {
57+
display: flex;
58+
flex-direction: column;
59+
align-items: center;
60+
gap: 8px;
61+
}

0 commit comments

Comments
 (0)