Skip to content

Commit cfc6da1

Browse files
committed
Created bottom section with two parts side by side with placeholder content
1 parent 181e129 commit cfc6da1

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

Wireframe/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,24 @@ <h2>Title</h2>
2424
<a href="">Read more</a>
2525
</article>
2626
</main>
27+
<section>
28+
<article>
29+
<img src="" alt="">
30+
<h2>Placeholder</h2>
31+
<p>
32+
Lorem ipsum dolor sit amet consectetur adipisicing elit. Molestias rerum hic corporis modi dolor dolore optio quaerat recusandae ipsa. Alias distinctio nulla ex non ea architecto quidem tempore rerum. Sed aut optio explicabo in vel iste deleniti repudiandae nulla illum.
33+
</p>
34+
<a href="">Read more</a>
35+
</article>
36+
<article>
37+
<img src="" alt="">
38+
<h2>Placeholder</h2>
39+
<p>
40+
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Inventore, quibusdam exercitationem? Eligendi, veniam id eius fuga amet earum delectus hic, dolore ipsa, aut illum quas tenetur magni velit repellat odit!
41+
</p>
42+
<a href="">Read more</a>
43+
</article>
44+
</section>
2745
<footer>
2846
<p>
2947
This is the default, provided code and no changes have been made yet.

Wireframe/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ main {
7575
grid-column: span 1;
7676
}
7777
}
78+
79+
section {
80+
display: grid;
81+
grid-template-columns: auto auto;
82+
grid-gap: 10px;
83+
margin: 0 20px 20px 20px;
84+
}
7885
/* ====== Article Layout ======
7986
Setting the rules for how elements are placed in the article.
8087
Now laying out just the INSIDE of the repeated card/article design.

0 commit comments

Comments
 (0)