Skip to content

Commit f9a3ec0

Browse files
committed
layout
1 parent 2bc08bd commit f9a3ec0

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

Wireframe/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,24 @@ <h2>Title</h2>
2323
</p>
2424
<a href="">Read more</a>
2525
</article>
26+
<article>
27+
<img src="placeholder.svg" alt="" />
28+
<h2>Title</h2>
29+
<p>
30+
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
31+
voluptates. Quisquam, voluptates.
32+
</p>
33+
<a href="">Read more</a>
34+
</article>
35+
<article>
36+
<img src="placeholder.svg" alt="" />
37+
<h2>Title</h2>
38+
<p>
39+
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
40+
voluptates. Quisquam, voluptates.
41+
</p>
42+
<a href="">Read more</a>
43+
</article>
2644
</main>
2745
<footer>
2846
<p>

Wireframe/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ body {
3030
background: var(--paper);
3131
color: var(--ink);
3232
font: var(--font);
33+
margin: 0%;
3334
}
35+
3436
a {
3537
padding: var(--space);
3638
border: var(--line);
@@ -49,10 +51,15 @@ main {
4951
max-width: var(--container);
5052
margin: 0 auto calc(var(--space) * 4) auto;
5153
}
54+
header{
55+
text-align: center;
56+
}
5257
footer {
5358
position: fixed;
5459
bottom: 0;
5560
text-align: center;
61+
background: turquoise;
62+
width: 100%;
5663
}
5764
/* ====== Articles Grid Layout ====
5865
Setting the rules for how articles are placed in the main element.

0 commit comments

Comments
 (0)