Skip to content

Commit d15f2ad

Browse files
committed
edit style
1 parent 51b69cd commit d15f2ad

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

Wireframe/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ <h3>Summary</h3>
3333
</p>
3434
<a href="https://en.wikipedia.org/wiki/README">Read more</a>
3535
</article>
36-
<article>
36+
<section class="cards">
37+
<article class="card">
3738
<img src="https://cdn.sanity.io/images/599r6htc/regionalized/4c8605ad998d69b03a6eefb850cce5e23a0a96dc-2880x1440.png?w=2880&h=1440&q=75&fit=max&auto=format" alt="Wireframe"/>
3839
<h2>What is the purpose of a wireframe?</h2>
3940
<h3>Summary</h3>
@@ -53,8 +54,8 @@ <h3>Summary</h3>
5354
and labels instead of polished visuals.
5455
</p>
5556
<a href="https://en.wikipedia.org/wiki/Website_wireframe">Read more</a>
56-
</article>
57-
<article>
57+
</article>
58+
<article class="card">
5859
<img src="https://koliber.com/static/images/articles/trunk-flow.png" alt="Git Branch"/>
5960
<h2>What is a branch in Git?</h2>
6061
<h3>Summary</h3>
@@ -69,7 +70,8 @@ <h3>Summary</h3>
6970
</ul>
7071
</p>
7172
<a href="https://www.w3schools.com/GIT/git_branch.asp?remote=github">Read more</a>
72-
</article>
73+
</article>
74+
</section>
7375
</main>
7476
<footer>
7577
<p>

Wireframe/style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,9 @@ article {
6060
}
6161

6262
}
63-
63+
.cards {
64+
display: grid;
65+
grid-template-columns: 1fr 1fr;
66+
gap: 2rem;
67+
}
6468

0 commit comments

Comments
 (0)