-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (36 loc) · 1.02 KB
/
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
36
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Game Of Life Simulator | p5JS</title>
<script src="../p5.js"></script>
<script src="sketch.js"></script>
<style>
* {
user-select: none;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #84fab0;
background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
display: flex;
flex-direction: column;
text-align: center;
align-items: center;
min-height: 100vh;
}
canvas {
border: solid 5px;
border-color: indigo;
border-radius: 10px;
box-shadow: 7.8px 7.8px 7.6px rgba(0, 0, 0, 0.057),
26.4px 26.1px 25.7px rgba(0, 0, 0, 0.083),
118px 117px 115px rgba(0, 0, 0, 0.14);
}
</style>
</head>
<body>
<h1>Game of Life</h1>
</body>
</html>