Skip to content

Commit 4a51a0f

Browse files
committed
update wireframe html
1 parent eb46639 commit 4a51a0f

2 files changed

Lines changed: 28 additions & 6 deletions

File tree

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: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,16 @@ Play with the options that come up.
6161
https://developer.chrome.com/docs/devtools/css/grid
6262
https://gridbyexample.com/learn/
6363
*/
64-
main {
65-
display: grid;
66-
grid-template-columns: 1fr 1fr;
67-
gap: var(--space);
68-
> *:first-child {
69-
grid-column: span 2;
64+
65+
66+
@media (min-width: 550px) {
67+
main {
68+
display: grid;
69+
grid-template-columns: 1fr 1fr;
70+
gap: var(--space);
71+
> *:first-child {
72+
grid-column: span 2;
73+
}
7074
}
7175
}
7276
/* ====== Article Layout ======

0 commit comments

Comments
 (0)