-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
55 lines (47 loc) · 827 Bytes
/
Copy pathstyle.css
File metadata and controls
55 lines (47 loc) · 827 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
body{
background-color: black;
}
#enemy{
position: fixed;
width:100px;
height:150px;
background: white;
}
#enemy:hover,#enemy:target,#enemy:active{
opacity:0.7;
}
.gameOver{
animation-name:over;
animation-duration:500ms;
animation-iteration-count: infinite;
border-bottom:10px solid white;
}
@keyframes over{
0%{
opacity:0.3;
}
100%{
opacity:2;
}
}
#score{
position: fixed;
top:0;
left:0;
font-weight: bold;
text-shadow:1px 1px white;
padding:20px;font-size:larger;
}
.start{
display:flex;align-items:center;justify-content: center;bottom:0; height:150px;margin:0 auto;
position:fixed;
bottom:0;
padding:10px;
left:50%;
right:50%;
}
.start button{
background:white;border-radius: 8px;padding: 10px;font-weight:bold;
border: none;
min-width:250px;
}