-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (63 loc) · 1.95 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Bike by Gray</title>
<link href="reset.css" type="text/css" rel="stylesheet">
<link href="style.css" type="text/css" rel="stylesheet">
<link href="bikemotion.css" type="text/css" rel="stylesheet">
<script src="jquery-2.1.1.js" type="text/javascript"></script>
<script src="prefixfree.min.js" type="text/javascript"></script>
</head>
<body>
<div id="bike">
<div id="frametop"></div>
<div id="framechainstay"></div>
<div id="framefork"></div>
<div id="frameseattube"></div>
<div id="frameseatstay"></div>
<div id="framedowntube"></div>
<div id="seat">
<div id="base"></div>
<div id="nose"></div>
</div>
<div class="handlebars">
<div id="post"></div>
<div id="bar"></div>
<div id="handle"></div>
</div>
<div id="backwheel">
<div class="center"></div>
<div class="spoke1"></div>
<div class="spoke2"></div>
<div class="spoke3"></div>
<div class="spoke4"></div>
<div class="spoke5"></div>
</div>
<div id="frontwheel">
<div class="center"></div>
<div class="spoke1"></div>
<div class="spoke2"></div>
<div class="spoke3"></div>
<div class="spoke4"></div>
<div class="spoke5"></div>
</div>
</div>
<div class="block">
<span>5 JQuery </span>
<span>70 HTML </span>
<span>170 CSS </span>
</div>
<div class="block2">
.darJS
</div>
<script>
$("#bike").on("click", function() {
$("#bike").toggleClass("move");
$("#frontwheel").toggleClass("spin");
$("#backwheel").toggleClass("spin");
$(".block2").addClass("change");
});
</script>
</body>
</html>