Repository navigation
Expand file tree
/
Copy pathbasic.html
More file actions
58 lines (47 loc) · 1.34 KB
/
Copy pathbasic.html
File metadata and controls
58 lines (47 loc) · 1.34 KB
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
48
49
50
51
52
53
54
55
56
57
58
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
<title>lumin demo</title>
<style>
body {
font-family: sans-serif;
box-sizing: border-box;
font-size: 16px;
line-height: 2;
margin: 0;
padding: 10px;
-webkit-font-smoothing: antialiased;
}
.container {
position: relative;
max-width: 600px;
margin: 0 auto;
}
.title {
font-size: 2em;
}
</style>
</head>
<body>
<div class="container">
<div class="title">The Amazing Party Animal Personality Enhancer!</div>
<p>Use this simple device during any social event and you’re virtually guaranteed to develop killer dance moves; become
the most entertaining person in the room; and attract 180 percent more attention from potential love interests.</p>
</div>
<div style="padding: 20px 0; text-align: center">
<button>START</button>
</div>
<script src="../dist/lumin.min.js"></script>
<script>
console.log(lumin);
const container = document.querySelector('.container');
const luminator = lumin(container);
document.querySelector('button').addEventListener('click', () => {
luminator.clear();
luminator.start(5000);
});
</script>
</body>
</html>