File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 </ head >
99 < body >
1010 < header >
11- < h1 > Wireframe</ h1 >
12- < p >
13- This is the default, provided code and no changes have been made yet.
11+ < h1 class =" center " > Wireframe & Git Commits </ h1 >
12+ < p class =" center " >
13+ Practicing commits in Git
1414 </ p >
1515 </ header >
1616 < main >
1717 < article >
18- < img src ="placeholder.svg " alt ="" />
19- < h2 > Title </ h2 >
18+ < img src ="https://img.freepik.com/premium-vector/wireframe-icon_933463-14328.jpg " alt ="" />
19+ < h2 > README File </ h2 >
2020 < p >
21- Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam,
22- voluptates. Quisquam, voluptates.
21+ A README File explains what the project is, how to use it and why it exists.
2322 </ p >
2423 < a href =""> Read more</ a >
2524 </ article >
2625 </ main >
26+
2727 < footer >
2828 < p >
2929 This is the default, provided code and no changes have been made yet.
Original file line number Diff line number Diff line change 5050 margin : 0 auto calc (var (--space ) * 4 ) auto;
5151}
5252footer {
53- position : fixed;
5453 bottom : 0 ;
5554 text-align : center;
5655}
6867 > * : first-child {
6968 grid-column : span 2 ;
7069 }
70+
7171}
7272/* ====== Article Layout ======
7373Setting the rules for how elements are placed in the article.
@@ -80,10 +80,24 @@ article {
8080 text-align : left;
8181 display : grid;
8282 grid-template-columns : var (--space ) 1fr var (--space );
83+
8384 > * {
8485 grid-column : 2 / 3 ;
8586 }
8687 > img {
87- grid-column : span 3 ;
88+ grid-column : span 2 ;
89+
8890 }
91+
92+
8993}
94+
95+ article img {
96+ width : 100% ;
97+ height : 300px ;
98+ object-fit : fill;
99+ }
100+
101+ .center {
102+ text-align : center;
103+ }
You can’t perform that action at this time.
0 commit comments