-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (49 loc) · 1.2 KB
/
index.html
File metadata and controls
53 lines (49 loc) · 1.2 KB
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
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LeetcodeTreeVisualizer</title>
<style>
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
.inputContainer {
position: absolute;
top: 1rem;
left: 1rem;
display: flex;
flex-direction: column;
gap: 1rem;
width: 10rem;
}
textarea {
resize: none;
width: 100%;
}
.actionBtns {
width: 100%;
display: flex;
gap: 1rem;
}
button {
width: 5rem;
height: 2rem;
}
</style>
</head>
<body>
<div class="inputContainer">
<textarea class="input" rows="5"></textarea>
<div class="actionBtns">
<button class="applyBtn">Apply</button>
<button class="clearBtn">Clear</button>
</div>
</div>
<canvas></canvas>
<script type="module" src="./drawBinaryTree.js"></script>
</body>
</html>