-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
56 lines (48 loc) · 1.52 KB
/
test.html
File metadata and controls
56 lines (48 loc) · 1.52 KB
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
<!DOCTYPE html>
<html lang="zh-cn">
<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>util-es</title>
<style>
@keyframes myAnimate {
0% {
background-position-x: 0%
}
100% {
background-position-x: 100%
}
}
html,
body {
position: relative;
margin: 0;
padding: 0;
height: 100%;
overflow: auto;
background-image: linear-gradient(#b6aeff, #fff)
}
h1 {
position: absolute;
top: 50%;
left: 50%;
margin: 0;
transform: translate(-50%, -50%);
font-size: 90px;
color: transparent;
/* background-image: linear-gradient(90deg, #ff6464, #fdd1d1, #ff8aa3, #ff6464, #fdd1d1, #ff8aa3, #ff6464); */
background-image: linear-gradient(90deg, #ab3f4f, #d5bfb1, #809e82, #ab3f4f, #d5bfb1, #809e82, #ab3f4f);
background-size: 200% 100%;
background-clip: text;
-webkit-background-clip: text;
animation: myAnimate 3s linear 0s infinite normal none running;
/* animation: myAnimate duration timing-function delay iteration-count direction fill-mode; */
}
</style>
</head>
<body>
<h1 title="">util-es</h1>
</body>
<script src="util.min.js"></script>
</html>