-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathracer.css
81 lines (78 loc) · 1.17 KB
/
racer.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
.bolt {
content: url("usain-bolt.jpg");
height: 10vh;
padding: 10px;
left: 10px;
}
.runner {
content: url("runner.png");
height: 10vh;
padding: 10px;
left: 10px;
}
.track {
background-color: rgb(232,97,59);
position: relative;
height: 27vh;
display: block;
margin: 0;
width: 98vw;
}
#lane1, #lane3, #lane5 {
border: 5px solid white;
display: block;
position: absolute;
top: -5px;
width: 80%;
height: 49%;
}
#lane2 {
display: block;
position: absolute;
border: 5px solid white;
top: 48%;
height: 51%;
width: 80%;
}
#lane4, #lane6{
display: block;
position: absolute;
border: 5px solid white;
top: 48%;
height: 51%;
width: 80%;
}
#track2{
background-color: rgb(232,97,59);
height: 27vh;
display: block;
top: 27%;
}
#track3{
background-color: rgb(232,97,59);
height: 27vh;
display: block;
top: 54%;
}
#pOne, #pTwo, #pThree, #pFour, #pFive, #pSix {
position: absolute;
}
#begin {
background-color: red;
width: 200px;
height: 80px;
border-radius: 10px;
float: right;
margin-right: 200px;
margin-bottom: 10px;x
color: white;
font-size: 40px;
}
#right {
float: right;
background-color: none;
}
button {
border-radius: 10px;
background-color: none;
}