File tree Expand file tree Collapse file tree 2 files changed +29
-11
lines changed Expand file tree Collapse file tree 2 files changed +29
-11
lines changed Original file line number Diff line number Diff line change 9
9
</ head >
10
10
< body >
11
11
< div class ="header ">
12
- < div class ="logo ">
13
- LOGO
12
+ < div class ="header-left ">
13
+ < div class ="logo ">
14
+ LOGO
15
+ </ div >
16
+ < ul class ="links ">
17
+ < li > < a href ="google.com "> link-one</ a > </ li >
18
+ < li > < a href ="google.com "> link-two</ a > </ li >
19
+ < li > < a href ="google.com "> link-three</ a > </ li >
20
+ </ ul >
14
21
</ div >
15
- < ul class ="links ">
16
- < li > < a href ="google.com "> link-one</ a > </ li >
17
- < li > < a href ="google.com "> link-two</ a > </ li >
18
- < li > < a href ="google.com "> link-three</ a > </ li >
19
- </ ul >
20
- < button class ="notifications ">
21
- 1 new notification
22
- </ button >
23
- < div class ="profile-image "> </ div >
22
+ < div class ="header-right ">
23
+ < button class ="notifications ">
24
+ 1 new notification
25
+ </ button >
26
+ < div class ="profile-image "> </ div >
24
27
</ div >
25
28
</ body >
26
29
</ html >
Original file line number Diff line number Diff line change @@ -12,8 +12,18 @@ body {
12
12
background : white;
13
13
border-bottom : 1px solid # ddd ;
14
14
box-shadow : 0 0 8px rgba (0 , 0 , 0 , .1 );
15
+ display : flex;
16
+ justify-content : space-between;
15
17
}
16
18
19
+
20
+ .header-right , .header-left {
21
+ display : flex;
22
+ align-items : center;
23
+ gap : 16px ;
24
+ }
25
+
26
+
17
27
.profile-image {
18
28
background : rebeccapurple;
19
29
box-shadow : inset 2px 2px 4px rgba (0 , 0 , 0 , .5 );
27
37
font-size : 32px ;
28
38
font-weight : 900 ;
29
39
font-style : italic;
40
+ margin : 0px ;
30
41
}
31
42
32
43
button {
45
56
46
57
ul {
47
58
list-style-type : none;
59
+ display : flex;
60
+ margin : 0px ;
61
+ padding : 0px ;
62
+ gap : 16px ;
48
63
}
You can’t perform that action at this time.
0 commit comments