-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
38 lines (32 loc) · 969 Bytes
/
style.css
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
body{
margin: 0;
padding: 0;
background-color: white;
}
.holder{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
.img{
cursor: pointer;
animation: shake 1.5s;
animation-iteration-count: infinite;
margin-bottom: 100px;
}
@keyframes shake{
0%{transform: translate(1px, 1px) rotate(0deg);}
10%{transform: translate(-1px, 2px) rotate(-1deg);}
20%{transform: translate(3px, 1px) rotate(1deg);}
30%{transform: translate(-3px, 0px) rotate(0deg);}
40%{transform: translate(1px, -1px) rotate(1deg);}
50%{transform: translate(-1px, 2px) rotate(-1deg);}
60%{transform: translate(-3px, 1px) rotate(0deg);}
70%{transform: translate(2px, 1px) rotate(-1deg);}
80%{transform: translate(-2px, 3px) rotate(1deg);}
90%{transform: translate(1px, 2px) rotate(0deg);}
100%{transform: translate(-1px, -2px) rotate(1deg);
}
}