-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuuton.html
99 lines (89 loc) · 2.2 KB
/
buuton.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{
background: #fff;
}
.bt{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.bt span{
width: 50px;
height: 50px;
background: rgb(250,250,250);
line-height: 3rem;
margin: 4px;
text-align: center;
border-radius: 15ex;
border-style: none;
box-shadow:2px 2px 5px rgba(20,20,20,0.7);
font-size: 30px;
font-weight: 900;
transition: 2s;
}
.bt span:hover{
margin-top: -20px;
transition: 1s;
}
@keyframes ani1{
0%{
transform: translateY(0px);
}
50%{
transform: translateY(-50px);
}
}
@keyframes ani2{
0%{
transform: translateY(0px);
}
50%{
transform: translateY(-50px);
}
}
@keyframes ani3{
0%{
transform: translateY(0px);
}
50%{
transform: translateY(-50px);
}
}
@keyframes ani4{
0%{
transform: translateY(0px);
}
50%{
transform: translateY(-50px);
}
}
.bt span:nth-child(1){
animation: ani1 5s linear infinite;
}
.bt span:nth-child(2){
animation: ani2 5.5s linear infinite;
}
.bt span:nth-child(3){
animation: ani3 6s linear infinite;
}
.bt span:nth-child(4){
animation: ani4 6.5s linear infinite;
}
</style>
</head>
<body>
<div class="bt">
<span><<</span>
<span><</span>
<span>></span>
<span>>></span>
</div>
</body>
</html>