-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (76 loc) · 1.51 KB
/
Copy pathstyle.css
File metadata and controls
78 lines (76 loc) · 1.51 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
overflow: hidden;
}
.hidden{
display: none;
}
.carGame{
background-color: wheat;
}
.car , .eCar{
width: 60px;
height: 110px;
background-color: yellowgreen;
border-radius: 5px;
position: absolute;
bottom:100px;
/* left: 250px; */
}
.gameArea{
width: 400px;
height: 100vh;
background-color: rgb(30, 28, 34);
margin: auto;
position: relative;
border-left:8px dashed whitesmoke;
border-right:8px dashed whitesmoke;
}
.scoreboard{
position: absolute;
background-color: peru;
color: whitesmoke;
top: 15px;
left: 20px;
width: 20%;
/* height: 100px; */
line-height: 40px;
padding: 20px;
text-align: center;
font-size: 1.4em;
border: 3px solid;
box-shadow: 0 5px 5px rgba(31, 29, 31, 0.267);
text-transform: uppercase;
}
.startScreen{
position: absolute;
background-color: tomato;
color: thistle;
top: 50%;
left: 50%;
font-size: 20px;
line-height: 35px;
width: 50%;
z-index: 1;
border: 3px solid;
cursor: pointer;
padding: 20px;
text-transform: uppercase;
text-align: center;
letter-spacing:3px;
word-spacing: 3px;
transform: translate(-50%,-50%);
box-shadow: 0 5px 5px rgba(31, 29, 31, 0.267);
font-weight: bold;
}
.roadLine{
position: absolute;
width: 10px;
height: 100px;
left: 205px;
border-radius: 1px;
margin: auto;
background-color: whitesmoke;
}