-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathindex.html
35 lines (35 loc) · 1.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Sakura</title>
<link rel="stylesheet" href="dist/sakura.css" />
</head>
<body>
<script src="dist/sakura.js" text="text/javascript"></script>
<script>
var sakura = new Sakura('body', {
colors: [
{
gradientColorStart: 'rgba(255, 183, 197, 0.9)',
gradientColorEnd: 'rgba(255, 197, 208, 0.9)',
gradientColorDegree: 120,
},
{
gradientColorStart: 'rgba(255,189,189)',
gradientColorEnd: 'rgba(227,170,181)',
gradientColorDegree: 120,
},
{
gradientColorStart: 'rgba(212,152,163)',
gradientColorEnd: 'rgba(242,185,196)',
gradientColorDegree: 120,
},
],
delay: 200,
});
</script>
</body>
</html>