Skip to content

Commit dff033c

Browse files
Footer centralised
1 parent 1288ec1 commit dff033c

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

Wireframe/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,11 @@ <h2>What is a branch in Git?</h2>
4747
</section>
4848
</main>
4949
<footer>
50-
<p>
51-
&copy; Code Your Future
52-
</p>
50+
<section>
51+
<p>
52+
&copy; Code Your Future
53+
</p>
54+
</section>
5355
</footer>
5456
</body>
5557
</html>

Wireframe/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ main {
3131
max-width: 1100px;
3232
margin: 2rem auto;
3333
padding: 0 1rem;
34+
padding-bottom: 4rem;
3435
}
3536

3637
/* GRID LAYOUT */
@@ -83,7 +84,7 @@ article a:hover {
8384
footer {
8485
background: transparent;
8586
color: black;
86-
text-align: center;
87+
left: 45%;
8788
padding: 1rem;
8889
position: fixed;
8990
bottom: 0;

0 commit comments

Comments
 (0)