-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (35 loc) · 859 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MemeSpirits</title>
<style>
body {
background-color: #d3e6bb;
}
.box {
width: 80%;
min-height: 80vh;
margin: auto;
/* border:1px solid; */
display: flex;
align-items: center;
justify-content: center; /* not really needed with auto margin on img*/
}
.box img {
display: block;
width: 80%;
min-width: 100px;
max-width: 50%;
height: auto; /* maintain aspect ratio*/
margin: auto; /*optional centering of image*/
}
</style>
</head>
<body>
<div class="box">
<img src="memespirits.jpg" alt="MemeSpirits" />
</div>
</body>
</html>