Skip to content

Commit b4077e0

Browse files
authored
Merge pull request #4 from oota-sushikuitee/Okabe-Junya/feat/add-footer
Feat: add footer
2 parents eb2bd02 + 360467f commit b4077e0

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

Diff for: index.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="ja">
2+
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@@ -30,5 +30,8 @@
3030
<img src="./img/mayo.png" alt="mayo-kun" class="center-image" />
3131
<p>Sushi kuitee</p>
3232
</div>
33+
<footer class="footer">
34+
<p>&copy; oota-sushikuitee.net 2024</p>
35+
</footer>
3336
</body>
3437
</html>

Diff for: style.css

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
body {
22
display: flex;
33
flex-direction: column;
4-
justify-content: center;
4+
justify-content: space-between;
55
align-items: center;
66
height: 100vh;
77
margin: 0;
@@ -43,6 +43,10 @@ body {
4343

4444
.container {
4545
text-align: center;
46+
flex: 1;
47+
display: flex;
48+
flex-direction: column;
49+
justify-content: center;
4650
}
4751

4852
.center-image {
@@ -55,3 +59,10 @@ p {
5559
margin-top: 20px;
5660
color: #666;
5761
}
62+
63+
.footer {
64+
width: 100%;
65+
text-align: center;
66+
padding: 10px;
67+
bottom: 0;
68+
}

0 commit comments

Comments
 (0)