-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
124 lines (103 loc) · 2.06 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>51抽奖</title>
<meta name = "viewport" content = "width = device-width, initial-scale = 1.0, maximum-scale = 1.0, user-scalable = 0" />
<style type="text/css">
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.bb, .bb::before, .bb::after ,.aa, .aa::before, .aa::after {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.bb,.aa {
width: 200px;
height: 200px;
margin: auto;
color: #69ca62;
box-shadow: inset 0 0 0 1px rgba(105, 202, 98, 0.5);
}
.bb::before, .bb::after ,.aa::before, .aa::after {
content: '';
z-index: -1;
margin: -5%;
box-shadow: inset 0 0 0 2px;
animation: clipMe 8s linear infinite;
}
.aa::before {
animation-delay: -2s;
}
.bb::before {
animation-delay: -4s;
}
.aa::after {
animation-delay: -6s;
}
.bb:hover::after, .bb:hover::before {
background-color: rgba(255, 0, 0, 0.3);
}
@keyframes clipMe {
0%, 100% {
clip: rect(0px, 220.0px, 2px, 160px);
}
}
@keyframes clipMe1 {
0%, 100% {
clip: rect(0px, 220px, 60px, 0px);
}
25% {
clip: rect(160px, 60px, 220.0px, 0px);
}
50% {
clip: rect(160px, 220.0px, 220.0px, 160px);
}
75% {
clip: rect(0px, 220.0px, 60px, 220px);
}
}
@keyframes clipMe {
0%, 100% {
clip: rect(0px, 2px, 60px, 0px);
}
18.2% {
clip: rect(160px, 2px, 220.0px, 0px);
}
25% {
clip: rect(218px, 60px, 220.0px, 0px);
}
43.2% {
clip: rect(218px, 220.0px, 220.0px, 160px);
}
50% {
clip: rect(160px, 220.0px, 220.0px, 218px);
}
68.2% {
clip: rect(0px, 220.0px, 60px, 218px);
}
75% {
clip: rect(0px, 220.0px, 2px, 160px);
}
93.2% {
clip: rect(0px, 60px, 2px, 0px);
}
}
</style>
</head>
<body>
<div class='alert_all'>
<div class='bb'>
</div>
<div class='aa'>
</div>
</div>
</body>
<script type="text/javascript">
</script>
</html>