summaryrefslogtreecommitdiffstats
path: root/basicsuite/webengine/content/csstetrahedron/index.html
blob: 540890bf95d89e24b511573d9be0b68c57f3d6cd (plain)
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
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <title>A tetrahedron built with CSS 3D transforms</title>
    <link rel="stylesheet" href="style.css" />
</head>
<body bgcolor="black">
<div id="header"></div>
<article id="viewport">
    <section id="pyramid">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </section>
</article>
<script language="javascript">
var container = document.getElementById("header");
container.innerHTML = "<div style=\"font-family: monospace; font-size: 13px; margin: 5em auto 0px; padding: 2em; width: 600px; "
                      + "height 100px; text-align: center; background-color: rgb(238, 238, 238);\">" + navigator.userAgent + "</div>";
</script>
</body>
</html>