-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_template
72 lines (58 loc) · 1.13 KB
/
_template
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
These are code snippets to save some time when doing this exercise in courses.
HTML:
<div class="sun"></div>
<div class="planet mercury"></div>
<div class="planet venus"></div>
<div class="planet earth"></div>
<div class="planet mars"></div>
<div class="planet jupiter"></div>
<div class="planet saturn"></div>
<div class="planet uranus"></div>
<div class="planet neptune"></div>
<div class="planet pluto"></div>
CSS:
.mercury {
background-color: #a9a9a9;
width: 3vw;
height: 3vw;
}
.venus {
background-color: #ffbb00;
width: 3.75vw;
height: 3.75vw;
}
.earth {
background-color: #336996;
width: 3.9vw;
height: 3.9vw;
}
.mars {
background-color: #ff5e00;
width: 3.3vw;
height: 3.3vw;
}
.jupiter {
background-color: #ebb87b;
width: 7.5vw;
height: 7.5vw;
}
.saturn {
background-color: #f5e9b8;
width: 6.75vw;
height: 6.75vw;
}
.uranus {
background-color: #94ddf0;
width: 5.25vw;
height: 5.25vw;
}
.neptune {
background-color: #2e47b8;
width: 5.25vw;
height: 5.25vw;
}
.pluto {
background-color: #a9a9a9;
width: 1.5vw;
height: 1.5vw;
}