-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
58 lines (57 loc) · 937 Bytes
/
style.css
File metadata and controls
58 lines (57 loc) · 937 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
}
#gauge {
width: 100%;
height: 300px;
}
.gauge-wrap {
height: 500px;
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.speed {
margin-top: -80px;
font-family: Arial, Helvetica, sans-serif;
font-size: 40px;
}
.start-stop {
width: 100%;
display: flex;
justify-content: center;
}
button {
border-style: none;
height: 40px;
width: 90px;
border-radius: 20px;
font-family: fantasy;
letter-spacing: 1px;
outline: none;
margin: 10px;
}
.start {
background-color: #00e500;
}
.brake {
background-color: #ffff00;
}
.stop {
background-color: #fc0101;
}
button:hover {
cursor: pointer;
opacity: 0.9;
border: 1px solid;
transition: 0.1s;
}