Skip to content

Commit 32d8416

Browse files
Harini ArunkumarHarini Arunkumar
authored andcommitted
style: layout articles using CSS grid
1 parent b5bc4d1 commit 32d8416

1 file changed

Lines changed: 1 addition & 26 deletions

File tree

Wireframe/style.css

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -51,32 +51,7 @@ main {
5151
margin: 0 auto calc(var(--space) * 4) auto;
5252
padding-bottom: 80px;
5353
}
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-
}
54+
8055
/* ====== Articles Grid Layout ====
8156
Setting the rules for how articles are placed in the main element.
8257
Inspect this in Devtools and click the "grid" button in the Elements view

0 commit comments

Comments
 (0)