File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change @@ -61,12 +61,16 @@ Play with the options that come up.
6161https://developer.chrome.com/docs/devtools/css/grid
6262https://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 ======
You can’t perform that action at this time.
0 commit comments