-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.html
More file actions
38 lines (36 loc) · 784 Bytes
/
Copy pathexample.html
File metadata and controls
38 lines (36 loc) · 784 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bubbles test</title>
<style>
body {
background-color: #000;
font-family: Helvetica, sans-serif;
color: #fff;
}
h1 {
text-align: center;
font-size: 4em;
}
#my-div {
width: 500px;
height: 500px;
background: #22b799;
background: linear-gradient(135deg, #22b799 0%,#258dc8 50%,#5b1c93 100%);
border-radius: 5px;
margin: 10px auto;
}
</style>
</head>
<body>
<h1>Bubbles test</h1>
<div id="my-div"></div>
<script src="src/GJBubbles.js"></script>
<script>
GJBubbles.init('my-div', {bubble_count: 10});
</script>
</body>
</html>
<!-- smaller - blurryer and less transparent, slower?
bigger - sharper and more transparent, faster? -->