-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (50 loc) · 1.15 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link
rel="shortcut icon"
href="./src/assets/favicon.ico"
type="image/x-icon"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PathFinding Visualizer</title>
<style>
#targetNode,
#startNode {
cursor: pointer;
display: block;
width: 100%;
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
#nodes-container {
display: grid;
grid-template-columns: 1fr;
grid-auto-rows: 1fr;
}
.nodes-row {
display: flex;
flex-grow: 1;
align-items: center;
}
.node {
display: flex;
align-items: center;
justify-content: center;
flex-grow: 1;
width: 100%;
height: 100%;
outline: 0.1px solid #0066ff;
letter-spacing: normal;
font-weight: 600;
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="./src/main.tsx"></script>
</body>
</html>