-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.html
43 lines (43 loc) · 1.29 KB
/
example.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
<head>
<script src="./dist/lib.umd.js"></script>
</head>
<body>
<div id="app"></div>
<script async>
keywall('app', /* HTML */`
<div class="title-container">
<h1>Keywall</h1>
</div>
<style>
* {
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
font-family: sans-serif;
display: flex;
justify-content: center;
align-items: center;
background-color: lightgray;
height: 100vh;
}
h1 {
color: white;
}
.title-container {
background-color: firebrick;
padding: .6rem 2rem;
border-radius: 3px;
box-shadow:
-1px -1px 1px rgba(255,0,0,1.85),
0 0 2px rgba(0,0,0,.85),
0 0 3px rgba(0,0,0,.55),
0 0 8px rgba(0,0,0,.35),
14px 14px 28px rgba(0,0,0,.55);
transform: rotate(2deg)
}
</style>
`);
</script>
</body>