forked from Pranavv213/WebDevForBeginners
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell_game.css
98 lines (85 loc) · 1.24 KB
/
shell_game.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
body {
margin: 0;
}
#canvas {
position: relative;
}
#canvas-top,
#heading,
#button,
#button_q,
#gif,
#score,
#highest,
#button_r,
#level {
position: absolute;
}
label {
color: brown;
font-weight: bold;
font-size: 20px;
}
#level {
top: 400px;
right: 50px;
visibility: visible;
}
#score {
top: 20px;
left: 90px;
}
#highest {
top: 20px;
right: 90px;
}
#gif {
top: 250px;
left: 450px;
visibility: visible;
}
#canvas-top {
visibility: hidden;
}
#heading {
font-size: 60px;
top: 10px;
left: 20%;
visibility: visible;
}
#button {
background-color: green;
border: 1px solid green;
padding: 10px;
font-size: 18px;
border-radius: 10px;
color: white;
visibility: visible;
top: 700px;
left: 49%;
}
#button_r {
background-color: violet;
border: 1px solid violet;
padding: 10px;
font-size: 18px;
border-radius: 10px;
color: white;
visibility: visible;
top: 790px;
left: 49%;
}
#button_q {
background-color: red;
border: 1px solid red;
padding: 10px;
font-size: 18px;
border-radius: 10px;
color: white;
visibility: hidden;
top: 700px;
left: 49%;
}
.but {
display: flex;
}