-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle3.css
More file actions
55 lines (49 loc) · 891 Bytes
/
Copy pathstyle3.css
File metadata and controls
55 lines (49 loc) · 891 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
51
52
53
54
55
*{
margin: 0;
padding: 0;
}
.container{
height: 100vh;
border: 2px solid green;
background-image: url('./Space.png');
background-color: skyblue;
background-size: cover;
animation-name: bgMove;
animation-duration: 6s;
animation-fill-mode: forwards;
}
@keyframes bgMove{
100%{
background-position: -6000px;
}
}
.rocket{
height: 200px;
width: 200px;
/* border: 2px solid red; */
transform: rotate(45deg);
position: absolute;
left: 400px;
bottom: 200px;
animation: rocketMove 2s linear 3 forwards;
}
.rocket img{
height: 100%;
}
@keyframes rocketMove{
0%{
bottom: 200px;
}
25%{
bottom: 300px;
}
50%{
bottom: 200px;
}
75%{
bottom: 100px;
}
100%{
bottom: 200px;
}
}