-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
57 lines (50 loc) · 1.86 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
<html>
<head>
<title>CSS Only Side-by-side Stereoscopy</title>
<link href="stylesheets/index.css" media="screen, projection" rel="stylesheet" type="text/css" />
<link href="http://fonts.googleapis.com/css?family=Orbitron:900" rel="stylesheet" type="text/css">
<script src="js/modernizr.js"></script>
</head>
<body>
<div class="fallback-stage"></div>
<div class="container">
<div class="left">
<div class="stage">
<figure class="cube">
<span class="back">S</span>
<span class="top"></span>
<span class="bottom"></span>
<span class="left">3D!</span>
<span class="right">S</span>
<span class="front">C</span>
</figure>
</div>
</div>
<div class="right">
<div class="stage">
<figure class="cube">
<span class="back">S</span>
<span class="top"></span>
<span class="bottom"></span>
<span class="left">3D!</span>
<span class="right">S</span>
<span class="front">C</span>
</figure>
</div>
</div>
</div>
<section class="credit">Read how it's done: <a href="http://hop.ie/blog/stereoscopic/">Stereoscopic CSS</a></section>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-3481417-23']);
_gaq.push(['_setDomainName', 'hop.ie']);
_gaq.push(['_setSiteSpeedSampleRate', 10]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>