Skip to content

Commit f1416d5

Browse files
Harini ArunkumarHarini Arunkumar
authored andcommitted
Add footer with nav and contact details
1 parent 32d8416 commit f1416d5

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

Wireframe/style.css

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,32 @@ main {
5151
margin: 0 auto calc(var(--space) * 4) auto;
5252
padding-bottom: 80px;
5353
}
54-
54+
footer {
55+
position: fixed;
56+
left: 0;
57+
right: 0;
58+
bottom: 0;
59+
z-index: 10;
60+
padding: 4px 0;
61+
background: white;
62+
text-align: center;
63+
}
64+
footer nav{
65+
display: flex;
66+
justify-content: center;
67+
align-items: center;
68+
gap: var(--space);
69+
flex-direction: row;
70+
flex-wrap: wrap;
71+
}
72+
footer nav a{
73+
padding: 4px 8px;
74+
border: none;
75+
max-width: fit-content;
76+
text-decoration: none;
77+
color: #222;
78+
font-size: 0.9rem;
79+
}
5580
/* ====== Articles Grid Layout ====
5681
Setting the rules for how articles are placed in the main element.
5782
Inspect this in Devtools and click the "grid" button in the Elements view

0 commit comments

Comments
 (0)