-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.html
49 lines (49 loc) · 1.23 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>D3-GEO-MAP 基于D3的地图</title>
<style>
html,body{
width:100%;height: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
body{
background-image: url(data/background.jpg);
background-position: center center;
}
#container{
padding: 0;
margin: 100px auto 0;
display: block;
overflow: hidden;
width: 80%;
height: 80%;
background-color: rgba(53, 73, 74, 0.8);
}
.footer{
text-align: center;
}
.footer a{
color: #cccccc;
text-decoration: unset;
}
.footer a:hover{
color: #ffffff;
text-decoration: underline;
}
</style>
</head>
<body>
<div id="container"></div>
<div class="footer"><a href="https://github.com/ada87/d3-geo-map">Document</a> </div>
<script src="dist/dat.gui.min.js"></script>
<script src="dist/lodash.min.js"></script>
<script src="dist/d3.min.js"></script>
<script src="dist/example.js"></script>
</body>
</html>