Skip to content

Commit 3f8d368

Browse files
committed
fixed header css
1 parent fdee2d7 commit 3f8d368

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

Wireframe/index.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>Wireframe</h1>
1818

1919
<main>
2020
<article>
21-
<img src="mokey.jpg" alt="image of an upside down monkey" />
21+
<img src="monkey.jpg" alt="Image of an upside down monkey" />
2222
<h2>What is a README File?</h2>
2323
<p>
2424
A README file provides information about a project, including its
@@ -30,7 +30,7 @@ <h2>What is a README File?</h2>
3030
</article>
3131

3232
<article>
33-
<img src="bird.jpg" alt="An image of a black bird" />
33+
<img src="bird.jpg" alt="An image of a black bird" />
3434
<h2>What is a Wireframe?</h2>
3535
<p>
3636
A wireframe is a visual guide that helps designers and developers plan
@@ -42,10 +42,7 @@ <h2>What is a Wireframe?</h2>
4242
</article>
4343

4444
<article>
45-
<img
46-
src="Classroom Wireframe.jpg"
47-
alt="an image of a glass building"
48-
/>
45+
<img src="Classroom.jpg" alt="an image of a glass building" />
4946
<h2>What is a Git Branch?</h2>
5047
<p>
5148
A Git branch allows developers to work on new features or fixes

Wireframe/style.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@ main {
5252
max-width: var(--container);
5353
margin: 0 auto calc(var(--space) * 4) auto;
5454
}
55+
header {
56+
text-align: center;
57+
margin-bottom: calc(var(--space) * 2);
58+
}
59+
60+
header p {
61+
max-width: 600px;
62+
margin: 0 auto;
63+
}
5564
footer {
5665
position: fixed;
5766
bottom: 0;

0 commit comments

Comments
 (0)