-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (86 loc) · 1.73 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Waves</title>
<meta
name="keywords"
content="yfill,series,waves,javascript"
/>
<meta
name="description"
content="Click the wave effect"
/>
<script src="https://yfill.cn/docs/common/js/head.js"></script>
<script>var repository = 'https://github.com/Yfill/waves';</script>
<style>
.item {
line-height: 40px;
border-radius: 4px;
display: inline-block;
padding: 0 10px;
text-align: center;
color: white;
margin-bottom: 10px;
}
.button {
display: inline-block;
line-height: 40px;
border-radius: 4px;
padding: 0 10px;
text-align: center;
color: white;
}
.img {
border-radius: 4px;
margin: 3px 0 13px;
max-width: 100%;
display: block;
}
</style>
<script>Theme.run()</script>
<script
src="./dist/index.js"
onload="Waves.run()"
></script>
</head>
<body
background-color-0
font-color-0
>
<script src="https://yfill.cn/docs/common/js/body.js"></script>
<h2>Example effect</h2>
<div
class="item"
y-waves
font-color--2
background-color-1
>waves default</div>
<div
class="item"
y-waves-light
background-color-3
>waves light</div>
<div
class="item"
y-waves-dark
background-color-5
>waves dark</div>
<div
class="item"
y-waves-main
background-color-7
>waves main</div>
<div
class="item"
y-waves
y-waves-box-shadow
background-color-7
>waves box shadow</div>
<img
class="img"
src="https://images.unsplash.com/photo-1606054512716-fb198b6686c9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=751&q=80"
y-waves
/>
</body>
</html>