d2k
Version:
rendering engine from the Dark side of the Force - wip
75 lines (65 loc) • 1.42 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>d2k.js - examples</title>
<style>
* {
box-sizing: border-box;
}
html,
body {
width: 100%;
height: 100%;
}
body {
margin: 0;
font-family: sans-serif;
font-size: 12px;
}
h4 {
margin: 10px 0 10px 0;
font-weight: 600;
letter-spacing: 0.025rem;
}
canvas {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 100;
margin: auto;
}
nav {
margin: 0 0 0 20px;
color: color;
z-index: 200;
position: absolute;
}
a {
display: block;
text-decoration: none;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
</style>
</head>
<body>
<div id="root">
<nav class="d2k-navigation">
<h2>Examples</h2>
<ul class="d2k-navigation__list">
<li class="d2k-navigation__list__item">
<a href="./3d-object-builder/index.html">3d object builder (d2k)</a>
<a href="./rendering-engine/index.html">rendering engine (d2k)</a>
</li>
</ul>
</nav>
</div>
</body>
</html>