-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmario.css
More file actions
107 lines (77 loc) · 1.38 KB
/
mario.css
File metadata and controls
107 lines (77 loc) · 1.38 KB
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
100
101
102
103
104
105
106
107
* {
margin: 0;
padding: 0;
}
.GameContainer {
height: 99vh;
width: 99vw;
margin: auto;
/* display: flex; */
background: url(background_img.avif);
}
#Player {
background-color: rgb(15, 127, 255);
height: 70px;
width: 40px;
position: relative;
bottom: -289px;
/* left: 2vh; */
/* animation-duration: 2s;
animation-timing-function: ease-in;
animation-iteration-count: 1; */
}
#PlayerBaseLine {
background-color: black;
height: 5px;
width: 99vw;
position: absolute;
bottom: 238px;
}
.Platforms {
background-color: aqua;
height: 10px;
width: 80px;
position: relative;
bottom: -400px;
}
#Platform1 {
position: relative;
bottom: -269px;
left: 50px;
}
#Platform2 {
position: relative;
bottom: -400px;
left: 100px;
}
#Platform3 {
position: relative;
bottom: -400px;
left: 150px;
}
#Platform4 {
position: relative;
bottom: -400px;
left: 200px;
}
#Platform5 {
position: relative;
bottom: -400px;
left: 250px;
}
@keyframes MovementUp {
from {
bottom: -400px;
}
to {
bottom: -270px;
}
}
@keyframes MovementDown {
from {
bottom: -270px;
}
to {
bottom: -400px;
}
}