-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsplitView.html
More file actions
38 lines (33 loc) · 738 Bytes
/
splitView.html
File metadata and controls
38 lines (33 loc) · 738 Bytes
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
<span class="grid">
<div class="embed-wrapper">
<embed src="/" id="embed"></embed>
</div>
<div id="calculator"></div>
</span>
<script src="https://www.desmos.com/api/v1.8/calculator.js?apiKey=dcb31709b452b1cf9dc26972add0fda6"></script>
<script src="./desmos.js" type="module"></script>
<style>
body {
margin: 0;
padding: 0;
background: black;
}
#embed {
aspect-ratio: 1;
width: 100%;
}
.embed-wrapper {
width: 50%;
resize: horizontal;
overflow: hidden;
height: min-content;
}
.grid {
display: flex;
width: 100vw;
height: 100vh;
}
#calculator {
flex-grow: 1;
}
</style>