-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
65 lines (55 loc) · 887 Bytes
/
styles.css
File metadata and controls
65 lines (55 loc) · 887 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
56
57
58
59
60
61
62
63
64
65
.item {
position: absolute;
transition: all 0.1s linear;
}
body {
margin: 0;
padding: 0;
}
#ticks {
position: absolute;
top: 0px;
right: 0px;
padding: 10px;
}
.car {
background-color: purple;
border: black 1px solid;
text-align: center;
color: white;
width: 20px;
height: 40px;
padding: 2px;
transform: translate(-20px, 0px);
}
.flip {
transform: scaleX(-1);
}
.light {
width: 20px;
height: 20px;
border-radius: 10px;
background-color: green;
transform: translate(-10px, -40px) scale(2);
}
.speedlimit {
width: 25px;
height: 35px;
border: black 1px solid;
background-color: white;
text-align: center;
padding: 5px 0;
transform: translate(-12px, -55px);
}
.destination {
padding: 10px;
border: black 1px solid;
color: white;
}
#canvas {
position: fixed;
left: 20px;
right: 20px;
top: 40px;
bottom: 0px;
}