File tree Expand file tree Collapse file tree 2 files changed +32
-18
lines changed Expand file tree Collapse file tree 2 files changed +32
-18
lines changed Original file line number Diff line number Diff line change 24
24
< input type ="text " />
25
25
</ div >
26
26
< div class ="buttons ">
27
- < button > Do the thing!</ button >
28
- < button > Do the other thing!</ button >
27
+ < button class =" b1 " > Do the thing!</ button >
28
+ < button class =" b2 " > Do the other thing!</ button >
29
29
</ div >
30
30
</ div >
31
31
< div class ="footer ">
Original file line number Diff line number Diff line change 5
5
margin : 0 ;
6
6
overflow : hidden;
7
7
font-family : Roboto, sans-serif;
8
+ display : flex;
9
+ flex-direction : column;
8
10
}
9
11
10
12
img {
@@ -25,46 +27,58 @@ input {
25
27
width : 400px ;
26
28
margin-bottom : 16px ;
27
29
}
30
+
31
+ /* List style */
28
32
li {
29
33
list-style : none;
30
34
}
31
-
35
+ /* Link style */
32
36
a {
33
37
text-decoration : none;
34
38
color : black;
35
39
}
40
+ /* Header style */
36
41
.header {
37
42
display : flex;
38
43
justify-content : space-between;
39
- align-content : center ;
44
+ padding : 16 px ;
40
45
}
41
46
47
+ /* Header child style */
42
48
.header .left-links ,
43
49
.header .right-links {
44
50
display : flex;
45
- padding-left : 15px ;
46
- column-gap : 1em ;
51
+ margin : 0 ;
52
+ padding : 0 ;
53
+ gap : 1em ;
47
54
}
48
- .header .right-links {
49
- padding-left : 0 ;
50
- padding-right : 15px ;
55
+
56
+ .b1 ,
57
+ .b2 {
58
+ padding : 8px 20px ;
51
59
}
52
60
53
- .logo {
61
+ /* Footer style */
62
+ .footer {
54
63
display : flex;
55
- justify-content : center;
56
- align-content : center;
57
- align-items : center;
58
- padding : 10rem ;
59
- padding-bottom : 0 ;
64
+ justify-content : space-between;
65
+ padding : 16px ;
66
+ background-color : # eee ;
60
67
}
61
68
62
- .input {
69
+ /* Header child style */
70
+ .footer .left-links ,
71
+ .footer .right-links {
63
72
display : flex;
64
- justify-content : center;
73
+ margin : 0 ;
74
+ padding : 0 ;
75
+ gap : 1em ;
65
76
}
66
77
67
- .buttons {
78
+ .content {
79
+ flex : 1 ;
68
80
display : flex;
69
81
justify-content : center;
82
+ align-items : center;
83
+ flex-direction : column;
70
84
}
You can’t perform that action at this time.
0 commit comments