File tree Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 8
8
< link rel ="stylesheet " href ="main.css ">
9
9
</ head >
10
10
< body >
11
+ < header >
12
+ < ul class ="navigation-list ">
13
+ < li class ="navigation-item "> < a href ="# "> Posts</ a > </ li >
14
+ < li class ="navigation-item "> < a href ="# "> Products</ a > </ li >
15
+ < li class ="navigation-item "> < a href ="# "> About Us</ a > </ li >
16
+ </ ul >
17
+ </ header >
18
+ < aside >
19
+ < p > My super awesome sidebar</ p >
20
+ </ aside >
21
+ < main >
22
+ < h1 > CSS Grid or Flexbox
23
+ </ h1 >
24
+ < p > When should you use which?</ p >
25
+ </ main >
26
+ < footer >
27
+ < ul class ="navigation-list ">
28
+ < li class ="navigation-item "> < a href ="# "> Terms of Use</ a > </ li >
29
+ < li class ="navigation-item "> < a href ="# "> Support</ a > </ li >
30
+ </ ul >
31
+ </ footer >
11
32
</ body >
12
33
</ html >
13
34
Original file line number Diff line number Diff line change
1
+ * {
2
+ box-sizing : border-box;
3
+ }
4
+
5
+ body {
6
+ font-family : sans-serif;
7
+ margin : 0 ;
8
+ }
9
+
10
+ header ,
11
+ aside ,
12
+ main ,
13
+ footer {
14
+ padding : 16px ;
15
+ text-align : center;
16
+ }
17
+
18
+ header {
19
+ background : # 521751 ;
20
+ }
21
+
22
+ aside {
23
+ background : # fa923f ;
24
+ }
25
+
26
+ footer {
27
+ background : black;
28
+ }
29
+
30
+ .navigation-list {
31
+ list-style : none;
32
+ margin : 0 ;
33
+ padding : 0 ;
34
+ }
35
+
36
+ .navigation-item a {
37
+ text-decoration : none;
38
+ color : white;
39
+ }
40
+
41
+ .navigation-item a : hover ,
42
+ .navigation-item a : active {
43
+ color : # fa923f ;
44
+ }
You can’t perform that action at this time.
0 commit comments