-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (56 loc) · 1.59 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Let it snow</title>
<link rel="stylesheet" href="http://rawgit.com/trevanhetzel/let-it-snow/master/let-it-snow.css">
<style><!-- Demo Styles -->
* {
box-sizing: border-box;
}
html,body {
width: 100%;
height: 100%;
margin: 0;
overflow: hidden;
padding: 0;
}
.let-it-snow {
width: 100%;
height: 100%;
float: left;
background: #001e28;
}
.button {
display: block;
position: relative;
z-index: 1;
margin: 400px auto 0;
border-radius: 10px;
width: 480px;
background: #38b6cd;
color: #fff;
text-align: center;
font-family: Helvetica, Arial, sans-serif;
font-size: 1.5em;
line-height: 3.5em;
font-weight: bold;
}
</style>
</head>
<body>
<div class="let-it-snow">
<div class="button" collectsnow>Collect snow on me!</div>
</div>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="http://rawgit.com/trevanhetzel/let-it-snow/master/let-it-snow.min.js"></script>
<script>
$.letItSnow('.let-it-snow', {
stickyFlakes: 'lis-flake--js',
makeFlakes: true,
sticky: false
});
</script>
</body>
</html>