-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
46 lines (40 loc) · 1.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GitHub Corner</title>
<style>
html,
body {
padding: 0;
margin: 0;
height: 100vh;
}
body {
display: flex;
align-items: center;
}
.container {
position: relative;
height: 80vh;
width: 50vw;
margin: auto;
border: 1px solid rgba(0, 0, 0, 0.3);
}
</style>
</head>
<body>
<script type="module" src="/src/main.ts"></script>
<div class="container">
<github-corner placement="top-right" size="20rem" href="https://github.com/YuskaWu/github-corner-element">
<svg slot="svg">
<circle cx="161" cy="75" r="4" fill="black" />
<circle cx="161" cy="75" r="6" stroke="black" fill="transparent" />
<circle cx="181" cy="95" r="4" fill="black" />
<circle cx="181" cy="95" r="6" stroke="black" fill="transparent" />
</svg>
</github-corner>
</div>
</body>
</html>