-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (40 loc) · 1.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
<style>
:root {
font-family: sans-serif;
}
.\@counter {
padding: 10px;
margin-bottom: 10px;
user-select: none;
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
}
.\@counter:active {
outline: 2px solid silver;
}
#counter-list {
margin-top: 20px;
}
</style>
</head>
<body>
<h1>Mana demos</h1>
<button class="@add-counter">Add counter</button>
<div id="counter-list">
<div class="@counter"></div>
<div class="@counter" value="3"></div>
</div>
<script type="module" src="/src/main.ts"></script>
<script type="module" src="/counter.ts"></script>
<script type="module" src="/add-counter.ts"></script>
<!-- <script type="module" src="/index.ts"></script> -->
</body>
</html>