-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
50 lines (43 loc) · 944 Bytes
/
style.css
File metadata and controls
50 lines (43 loc) · 944 Bytes
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
.wrapper{
position: relative;
background-color: #3a0963;
width: 500px;
height: 500px;
border: 2px solid black;
}
.ball{
position: absolute;
left: 0;
right: 0;
margin: auto;
width: 100px;
height: 100px;
background: #CC3F85;
border-radius: 50%;
animation: dwa-bounce 2s linear infinite;
}
.line{
position: absolute;
left: 0;
right: 0;
margin: auto;
width: 100px;
height: 3px;
bottom: 50px;
animation: dwa-bounce_2 2s infinite;
box-shadow: 0 4px 4px rgba(255, 255, 255, 0.4);
}
@keyframes dwa-bounce {
0% { bottom: 60%}
25% {bottom: 10%; width: 100px; height: 100px; }
30% {bottom: 10%; height: 50px; width: 110px; }
35% {bottom: 10%; width: 100px; height: 100px; }
100%{bottom: 60%;}
}
@keyframes dwa-bounce_2 {
0% {opacity: 0}
25% {opacity: 0; }
30% {opacity: .8; }
35% {opacity: 0; }
100%{opacity: 0;}
}