Skip to content

Commit 2e5f100

Browse files
committed
edit style
1 parent 4fd089f commit 2e5f100

2 files changed

Lines changed: 6 additions & 30 deletions

File tree

Wireframe/index.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ <h3>Summary</h3>
3333
</p>
3434
<a href="https://en.wikipedia.org/wiki/README">Read more</a>
3535
</article>
36-
<section class="row">
37-
<article>
36+
<article>
3837
<img src="https://cdn.sanity.io/images/599r6htc/regionalized/4c8605ad998d69b03a6eefb850cce5e23a0a96dc-2880x1440.png?w=2880&h=1440&q=75&fit=max&auto=format" alt="Wireframe" />
3938
<h2>What is the purpose of a wireframe?</h2>
4039
<h3>Summary</h3>
@@ -54,8 +53,8 @@ <h3>Summary</h3>
5453
and labels instead of polished visuals.
5554
</p>
5655
<a href="https://en.wikipedia.org/wiki/Website_wireframe">Read more</a>
57-
</article>
58-
<article>
56+
</article>
57+
<article>
5958
<img src="https://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2aridnng7k6bly55lic9.jpeg" alt="Git Branch" />
6059
<h2>What is a branch in Git?</h2>
6160
<h3>Summary</h3>
@@ -70,8 +69,7 @@ <h3>Summary</h3>
7069
</ul>
7170
</p>
7271
<a href="https://www.w3schools.com/GIT/git_branch.asp?remote=github">Read more</a>
73-
</article>
74-
</section>
72+
</article>
7573
</main>
7674
<footer>
7775
<p>

Wireframe/style.css

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,6 @@ svg {
2525
width: 100%;
2626
object-fit: cover;
2727
}
28-
.row {
29-
display: flex;
30-
gap: 10px;
31-
}
32-
33-
.row img {
34-
flex: 1;
35-
width: 50%;
36-
height: 200px;
37-
object-fit: cover;
38-
}
39-
4028
main {
4129
max-width: var(--container);
4230
margin: 0 auto calc(var(--space) * 4) auto;
@@ -69,19 +57,9 @@ article {
6957
}
7058
}
7159
.container {
72-
display: grid;
73-
grid-template-columns: 1fr 1fr;
74-
gap: 20px;
75-
}
76-
.row {
7760
display: flex;
78-
gap: 10px;
61+
gap: 20px;
62+
align-items: flex-end;
7963
}
8064

81-
.row img {
82-
flex: 1;
83-
width: 50%;
84-
height: 200px;
85-
object-fit: cover;
86-
}
8765

0 commit comments

Comments
 (0)