-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (39 loc) · 989 Bytes
/
index.html
File metadata and controls
42 lines (39 loc) · 989 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
39
40
41
42
<!doctype html>
<html lang="en">
<head>
<base href="/">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="Description" content="Demonstration for counter-app">
<style>
:root, html, body {
margin: 0;
padding: 0;
}
#demo {
margin: var(--ddd-spacing-2);
}
counter-app {
margin: var(--ddd-spacing-2);
border: var(--ddd-border-md);
border-radius: var(--ddd-radius-lg);
}
counter-app:hover {
box-shadow: var(--ddd-boxShadow-sm);
}
#example {
--counter-app-font-size: var(--ddd-font-size-l);
background-color: var(--ddd-accent-2);
color: var(--ddd-primary-17);
}
</style>
<title>counter-app</title>
</head>
<body>
<div id="demo">
<h1>counter-app</h1>
<counter-app counter="16" min="10" max="25"></counter-app>
</div>
<script type="module" src="./counter-app.js"></script>
</body>
</html>