-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
49 lines (49 loc) · 1.81 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 http-equiv="content-type" content="text/html; charset=utf-8" />
<title>3D Layout!</title>
<link type="text/css" rel="stylesheet" media="screen" href="css/style.css"/>
</head>
<body>
<div id="wrapper">
<div id="header" class="pop">
<h1>3D Layout!</h1>
<h2>An experiment using the canvas element of HTML5</h2>
</div>
<div id="content">
<div id="main" class="pop">
<div class="inner">
<p>This 3D Layout is powered by a smallish javascript file, and run-of-the-mill CSS. It uses the HTML5 Canvas element
to draw the background dynamically. Try resizing the window!</p>
<p>You can style elements - and as many elements as you want - with CSS, and javascript takes care of the rest.</p>
<p>You can also use a background image in addition to the canvas background!</p>
<p>With the ExplorerCanvas script, it even works in Internet Explorer.</p>
</div>
</div>
<div id="to-do" class="pop">
<h3>To Do:</h3>
<ul id="to-do-list">
<li>Inner "cut-aways" for 3D borders</li>
<li>Support for border-radius :)</li>
<li>De-couple from jQuery</li>
<li>Support for varying depths via z-index</li>
</ul>
</div>
</div>
<div id="sidebar">
<ul>
<li><a class="pop" href="#">Works on links - Including Hover!</a></li>
<li><a class="pop" href="#">Works on links - Including Hover!</a></li>
<li><a class="pop" href="#">Works on links - Including Hover!</a></li>
<li><a class="pop" href="#">Works on links - Including Hover!</a></li>
<li><a class="pop" href="#">Works on links - Including Hover!</a></li>
</ul>
</div>
</div>
</body>
<!--[if IE]><script src="js/excanvas.js"></script><![endif]-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="js/init.js"></script>
<script src="js/popout.js"></script>
</html>