forked from mattdesl/svg-mesh-3d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (71 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
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, shrink-to-fit=0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>svg-mesh-3d</title>
<link href='https://fonts.googleapis.com/css?family=Noto+Sans:400,700' rel='stylesheet' type='text/css'>
<style type="text/css">
body {
font-family: 'Noto Sans', Helvetica, sans-serif;
font-size: 16px;
background: #97c2c5;
overflow: hidden;
-webkit-font-smoothing: antialiased;
color: #4C4C4C;
}
canvas {
display: block;
position: fixed;
z-index: -5;
}
div {
margin: 10px;
font-weight: 700;
font-size: 13px;
}
p {
z-index: 10;
font-weight: 300;
margin: 5px 0px;
}
.link, .link:active, .info:visited {
text-decoration: none;
font-weight: 700;
color: #424242;
position: relative;
}
.link:hover {
}
.link::after, .link:hover::after {
content: ' ';
width: 100%;
left: 0;
background: currentColor;
z-index: 10;
position: absolute;
-webkit-transition: all 0.05s ease-out;
-moz-transition: all 0.05s ease-out;
-ms-transition: all 0.05s ease-out;
-o-transition: all 0.05s ease-out;
transition: all 0.05s ease-out;
}
.link::after {
height: 0px;
bottom: 0px;
}
.link:hover::after {
height: 4px;
bottom: -4px;
}
</style>
</head>
<body>
<canvas></canvas>
<div>
<a class="link main" target="_blank" href="https://github.com/mattdesl/svg-mesh-3d">svg-mesh-3d</a>
<p><span class="count"></span> triangulated <a class="link alt" target="_blank" href="http://www.entypo.com/">entypo</a> icons</p>
</div>
<script src="bundle.js" async></script>
</body>
</html>