-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
41 lines (39 loc) · 800 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
39
40
41
.container{
height: 90vh;
width: 90vw;
position: relative;
top: 5vh;
left: 5vw;
border: 3px solid red;
background-color: black;
}
.ball{
height: 90px;
width: 90px;
background-color: white;
position: relative;
top: 80vh;
left: 8vw;
border-radius: 50px;
box-shadow: rgba(72, 135, 202, 0.8) 0 0 90px 33px;
animation: Move 3s linear infinite, Bounce 1s cubic-bezier(0.01,0.1,0.01,1.0) 0s infinite alternate-reverse none ;
/* animation: Move 3s linear infinite; */
}
@keyframes Bounce {
from{
transform: translateY(0px );
bottom: 0;
}
to{
transform: translateY(-700px );
background-color: gold;
}
}
@keyframes Move {
from{
left:0;
}
to{
left: 100%;
}
}