-
Notifications
You must be signed in to change notification settings - Fork 0
/
class.html
66 lines (66 loc) · 2.22 KB
/
class.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{ margin:0; font:normal 75% Arial, Helvetica, sans-serif;
}
canvas{ display: block;
vertical-align: bottom;
} /* ---- particles.js container ---- */
#particles-js{ position:absolute;
width: 100%;
height: 100%;
background-color: #b61924;
background-image: url("");
background-repeat: no-repeat;
background-size: cover;
background-position: 50% 50%; } /* ---- stats.js ---- */
.count-particles
{
background: #000022;
position: absolute;
top: 48px;
left: 0;
width: 80px;
color: #13E8E9;
font-size: .8em;
text-align: left;
text-indent: 4px;
line-height: 14px;
padding-bottom: 2px;
font-family: Helvetica, Arial, sans-serif;
font-weight: bold;
}
.js-count-particles
{
font-size: 1.1em;
}
#stats,
.count-particles
{
-webkit-user-select: none;
margin-top: 5px;
margin-left: 5px;
}
#stats
{
border-radius: 3px 3px 0 0;
overflow: hidden;
}
.count-particles
{
border-radius: 0 0 3px 3px;
}
</style>
</head>
<body>
<script src="js1/js.js"></script>
<!-- particles.js container --> <div id="particles-js"></div> <!-- stats - count particles --> <div class="count-particles"> <span class="js-count-particles">--</span> particles </div>
<!-- particles.js lib - https://github.com/VincentGarreau/particles.js -->
<script src="http://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script> <!-- stats.js lib --> <script src="http://threejs.org/examples/js/libs/stats.min.js"></script>
</body>
</html>