-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (45 loc) · 1.11 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">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>React Party Demo</title>
<script type="module" src="./sample/index.jsx"></script>
<style>
html, body {
margin: 0;
padding: 0;
color-scheme: light dark;
font-family: sans-serif;
}
#root {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
}
#root button {
background: mediumpurple;
border-radius: .4em;
font: inherit;
font-weight: bold;
text-shadow: 0 -.1em rebeccapurple;
color: white;
padding: .7em 1.2em;
border: none;
cursor: pointer;
position: relative;
z-index: 1;
box-shadow: 0 .2em rebeccapurple;
transition: box-shadow .15s, transform .15s;
}
#root button:active {
box-shadow: 0 0 rebeccapurple;
transform: translateY(.2em);
}
</style>
</head>
<body>
<div id="root"></div>
</body>
</html>