Skip to content

Commit 8845ec1

Browse files
committed
Finished exercise
1 parent 0c48491 commit 8845ec1

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

flex/02-flex-header/style.css

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
.header {
2-
font-family: monospace;
2+
font-family: FreeMono, monospace;
33
background: papayawhip;
4+
/* from here */
5+
display: flex;
6+
justify-content: space-between;
7+
align-items: stretch;
48
}
59

610
.logo {
@@ -9,11 +13,32 @@
913
color: tomato;
1014
background: white;
1115
padding: 4px 32px;
16+
/* from here */
17+
text-align: center;
18+
flex: 2 1 0;
1219
}
1320

1421
ul {
1522
/* this removes the dots on the list items*/
1623
list-style-type: none;
24+
/* from here */
25+
padding: 0;
26+
margin: 0;
27+
display: flex;
28+
align-items: center;
29+
}
30+
31+
.left-links,
32+
.right-links {
33+
display: flex;
34+
}
35+
36+
.left-links {
37+
justify-content: flex-start;
38+
}
39+
40+
.right-links {
41+
justify-content: flex-end;
1742
}
1843

1944
a {

0 commit comments

Comments
 (0)