Skip to content

Commit 25bc72e

Browse files
committed
css modify 1
1 parent 31145c0 commit 25bc72e

2 files changed

Lines changed: 26 additions & 13 deletions

File tree

Wireframe/index.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,37 @@
77
<link rel="stylesheet" href="style.css" />
88
</head>
99
<body>
10-
<header>
11-
12-
</header>
13-
14-
10+
<div class='header'>
11+
<h1>Web Development & Planning</h1>
12+
<p>Here are some useful steps & information to help you get started with web development.</p>
13+
</div>
14+
<main>
15+
<div class="top-article">
16+
<img src="wireframe.png" alt="wireframe" />
1517
<h1>Wireframe</h1>
1618
<p>
1719
What is the purpose of a wireframe? Think of "Wireframe" as the Architectural blueprint of a website or App.
1820
A visual guide that outlines the structure, layout and placement of elements on a website.
1921
</p>
20-
21-
</header>
22-
<main>
23-
<article>
22+
</div>
23+
<div class="left-article">
2424
<img src="placeholder.svg" alt="" />
2525
<h2>README File</h2>
2626
<p>
2727
What is the purpose of a README file? It serves as the introductory guide and intruction manual for a project,
2828
explaining what the software does, how to install and run it, and how others can contribute to it.
2929
</p>
3030
<a href="">Read more</a>
31-
</article>
32-
<article>
31+
</div>div>
32+
<div class="right-article">
3333
<img src="placeholder.svg" alt="" />
3434
<h2>Branch in Git</h2>
3535
<p>
3636
What is a branch in Git? A branch in Git is a seperate line of development that allows you to isolate your work,
3737
experiment with new features, fix bugs or make changes without affecting the main codebase.
3838
</p>
3939
<a href="">Read more</a>
40-
</article>
40+
</div>
4141
</main>
4242
<footer>
4343
<p>

Wireframe/style.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Setting the rules for how elements are placed in the article.
7474
Now laying out just the INSIDE of the repeated card/article design.
7575
Keeping things orderly and separate is the key to good, simple CSS.
7676
*/
77-
article {
77+
.left-article {
7878
border: var(--line);
7979
padding-bottom: var(--space);
8080
text-align: left;
@@ -86,4 +86,17 @@ article {
8686
> img {
8787
grid-column: span 3;
8888
}
89+
90+
.right-article {
91+
border: var(--line);
92+
padding-bottom: var(--space);
93+
text-align: right;
94+
display: grid;
95+
grid-template-columns: var(--space) 1fr var(--space);
96+
> * {
97+
grid-column: 2/3;
98+
}
99+
> img {
100+
grid-column: span 3;
101+
}
89102
}

0 commit comments

Comments
 (0)