forked from gSchool/stoplight-event-exercise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
49 lines (42 loc) · 653 Bytes
/
index.css
File metadata and controls
49 lines (42 loc) · 653 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
body {
display: flex;
}
#controls {
margin-top: 30px;
}
.button {
background-color: gray;
border-radius: 15px;
color: white;
cursor: pointer;
font-size: 2em;
font-weight: bold;
margin: 90px 40px;
padding: 20px;
text-align: center;
}
#traffic-light {
background-color: #ababab;
border-radius: 40px;
margin: 30px 0;
height: 550px;
padding: 20px;
width: 200px;
}
.bulb {
background-color: #111;
border-radius: 50%;
margin: 25px auto;
height: 150px;
transition: background 300ms;
width: 150px;
}
.stop {
background-color: red;
}
.slow {
background-color: orange;
}
.go {
background-color: green;
}