-
Notifications
You must be signed in to change notification settings - Fork 193
/
glich_2.html
58 lines (52 loc) · 1.16 KB
/
glich_2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Glich</title>
<style>
@keyframes example {
0% {
-webkit-filter: saturate(8);
filter: saturate(8);
left: 20px;
}
25% {
-webkit-filter: hue-rotate(180deg);
filter: hue-rotate(180deg);
right: 20px;
}
50% {
-webkit-filter: invert(.8);
filter: invert(.8);
top: 20px;
}
100% {
-webkit-filter: hue-rotate(0deg);
filter: hue-rotate(0deg);
bottom: 20px;
}
}
.glich:hover {
position: relative;
animation-name: example;
animation-duration: 500ms;
cursor: pointer;
}
.container {
display: table-cell;
overflow: hidden;
height: 353px;
width: 353px;
margin: 10px;
}
</style>
</head>
<body>
<div class="container">
<img class="glich" width="400" src="https://img.alicdn.com/tfs/TB15rF.eQcx_u4jSZFlXXXnUFXa-1036-1558.jpg">
</div>
<div class="container">
<img class="glich" width="400" src="https://img.alicdn.com/tfs/TB15rF.eQcx_u4jSZFlXXXnUFXa-1036-1558.jpg">
</div>
</body>
</html>