-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
62 lines (51 loc) · 1.72 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Solar Systems for Shroomies</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="solar-sys circle">
<div class="center absolute" id="center">
<svg height="100" width="100">
<circle cx="50" cy="50" r="40" stroke-width="3" fill="orange" />
</svg>
</div>
<div class="center absolute" id="mercury">
<svg height="100" width="100">
<circle cx="50" cy="50" r="12.5" stroke-width="3" fill="#c58526" />
</svg>
</div>
<div class="center absolute" id="venus">
<svg height="100" width="100">
<circle cx="50" cy="50" r="14" stroke-width="3" fill="#a15917" />
</svg>
</div>
<div class="center absolute" id="earth">
<svg height="100" width="100">
<circle cx="50" cy="50" r="18" stroke-width="3" fill="blue" />
</svg>
</div>
<div class="center absolute" id="mars">
<svg height="100" width="100">
<circle cx="50" cy="50" r="15" stroke-width="3" fill="red" />
</svg>
</div>
<div class="center absolute" id="jupiter">
<svg height="100" width="100">
<circle cx="50" cy="50" r="35" stroke-width="3" fill="brown" />
</svg>
</div>
<div class="center absolute" id="saturn">
<svg height="100" width="100">
<circle cx="50" cy="50" r="20" stroke-width="3" fill="red" />
</svg>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.3/TweenMax.min.js"></script>
<script src="script.js"></script>
</body>
</html>