-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
36 lines (36 loc) · 1.03 KB
/
demo.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Special Snowflakes Demo</title>
<script src="special_snowflakes.js" type="text/javascript"></script>
<script type="text/javascript">
snowflake = null;
window.addEventListener('load', function() {
snowflake = new SpecialSnowflakes();
counter = document.createElement('div');
counter.style.color = '#ffffff';
document.body.appendChild(counter);
snowflake.frCounter = counter;
});
</script>
<style type="text/css">
#bg {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #001329;
background: -moz-linear-gradient(top, #001329 0%, #1b3b52 67%, #526a7a 100%);
background: -webkit-linear-gradient(top, #001329 0%,#1b3b52 67%,#526a7a 100%);
background: linear-gradient(to bottom, #001329 0%,#1b3b52 67%,#526a7a 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#002754', endColorstr='#5587aa',GradientType=0 );
z-index: -1;
}
</style>
</head>
<body>
<div id="bg"></div>
</body>
</html>