-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
77 lines (67 loc) · 1.99 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
<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 bar Charts</title>
<style>
body {
margin: 0;
box-sizing: border-box;
font-size: 16px;
font-family: monospace;
color: white;
text-rendering: optimizeLegibility;
}
.container {
background: url('https://images.unsplash.com/photo-1535017614657-1c6f308729b8?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=572&q=80');
background-size: cover;
}
.overlay {
position: relative;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
}
.title{
text-align: center;
}
.btn-container{
display: flex;
justify-content: space-around;
}
.btn-transparent {
color: white;
text-decoration: none;
font-size: 1.1em;
padding: 12px;
display: inline-block;
border: 1px solid white;
transition: all .5s ease-in-out;
}
.btn-transparent:hover,
.btn-transparent:active{
background: white;
color:black;
}
</style>
</head>
<body>
<div class="container">
<div class="overlay">
<div>
<h1 class="title">Learning d3 Bar Charts</h1>
<div class="btn-container">
<a class="btn-transparent" href="basic-barchart.html">Basic Bar Chart</a>
<a class="btn-transparent" href="progress-barchart.html">Progress Bar Chart</a>
</div>
</div>
</div>
</div>
</body>
</html>