-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
108 lines (90 loc) · 1.81 KB
/
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
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;
}
body{
overflow: hidden;
}
.tag{
font-size: 72px;
font-weight: bold;
text-align: center;
font-family: 'Lobster', cursive;
text-shadow: 2px 2px white;
}
.gamecontainer
{
background-image: url('https://image.freepik.com/free-vector/mars-landscape-alien-planet-martian-background_107791-1781.jpg');
background-repeat: no-repeat;
background-size: 100vw 100vh;
height: 100vh;
width: 100%;
}
.bheem{
background-image: url('https://qph.fs.quoracdn.net/main-qimg-adab2bd9cf8b364d6c87ccd6590fe8f1.webp');
background-repeat: no-repeat;
position: absolute;
width: 248px;
height: 183px;
background-size: cover;
bottom: 2vh;
left: 3vw;
}
.hulk{
background-image: url('https://dragonza.io/static/7ce6412c493fa05200bc9ea168a1719b/46604/logo-dragon.png');
background-repeat: no-repeat;
position: absolute;
width: 156px;
height: 150px;
background-size: cover;
bottom: 2vh;
left: 30vw;
}
.animatebheem{
animation: movebheem 0.6s linear;
}
@keyframes movebheem{
0%{
bottom: 0;
}
50%{
bottom: 40vh;
}
100%{
bottom: 0;
}
}
.obsticalemove{
animation: obsticalemove 4s linear infinite;
}
.gameover{
display:flex;
width: fit-content;
margin:auto;
font-size: larger;
font-family: 'Lobster', cursive;
margin-top: 15%;
transform: scale(9)
}
@keyframes obsticalemove{
0%{
left:100vw;
}
100%{
left:-10vw;
}
}
#scorecount{
display:flex;
width: fit-content;
position: absolute;
right: 0;
top:0;
font-size: larger;
font-family: 'Lobster', cursive;
margin-top:3vh;
margin-right: 4vw;
color: white;
background-color: black;
transform: scale(2.3);
}