Skip to content

Commit f21d9eb

Browse files
committed
What is a REAADME File?
1 parent 329eea0 commit f21d9eb

2 files changed

Lines changed: 23 additions & 9 deletions

File tree

Wireframe/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@
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.

Wireframe/style.css

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ main {
5050
margin: 0 auto calc(var(--space) * 4) auto;
5151
}
5252
footer {
53-
position: fixed;
5453
bottom: 0;
5554
text-align: center;
5655
}
@@ -68,6 +67,7 @@ main {
6867
> *:first-child {
6968
grid-column: span 2;
7069
}
70+
7171
}
7272
/* ====== Article Layout ======
7373
Setting 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+
}

0 commit comments

Comments
 (0)