<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html>
<html lang="en" class="devsite no-js">
<head>
<link href="http://rayanthony.io/" rel="canonical">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="width=device-width">
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta http-equiv="cleartype" content="on">
<link type="rel" href="http://codepen.io/rayrc/pen/NPqrRY.css">
<style>html{background:url(//webmx.me/img/shanghai.jpg) 100% 100% no-repeat;
filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://webmx.me/img/shanghai.jpg',sizingMethod='scale')";
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='//webmx.me/img/shanghai.jpg',sizingMethod='scale')";
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
background-repeat: no-repeat;min-height:100%;}
body{ background-repeat: no-repeat;
min-height:100%;}
div {
width: 80vw;
height: 80vh;
display: block;
position: relative;
perspective: 200px;
margin: 5 auto;
padding 5px 0 0 5px;
}
ul {
list-style: none;
margin: 0;
padding: 0;
perspective: 200px;
}
ul li {
background-color: rgba(0, 0, 0, 0.5);
padding: 10px;
text-shadow:1px 0 1px grey;
font-size:1.1rem;
text-align:center;
}
ul li:hover {
background-color: rgba(0,0,0, 0.3);
transform: translateZ(1px);
}</style>
<script src="https://codepen.io/rayrc/pen/NPqrRY.js"></script>
</head><body>
<ul><h3>springboard demo</h3>
<li><a href="http://goo.gl/5ehmto">Video URL demo</a></li>
<li><a href="http://statspring.com/?https://gist.githubusercontent.com/deadflowers/e3120ff8a955b341803f/raw/8f0032937676578185b8a7524676e77d037a4014/index.html "> URL demo</a></li>
<li><a href="http://statspring.com/?https://gist.githubusercontent.com/deadflowers/f49e21a3da1aa9a95dd4/raw/61e54229a0591d19c697543e7ed21aa2e3837624/index.html"> URL demo</a></li>
<li><a href="http://statspring.com/?">URL demo</a></li>
<li><a href="http://rayanthony.io/extensions/"> URL demo</a></li>
<li><a href="http://rayanthony.io/features/">rayanthony.io/features/URL demo</a></li>
</ul>
</div>
<script>
$( "ul" ).mousemove(function(e) {
var x, y;
x = ( e.pageX - $(this).offset().left - ($(this).outerWidth(true) / 2) ) * -1 / 9;
y = ( e.pageY - $(this).offset().top - ($(this).outerHeight(true) / 2) ) * -1 / 9;
y /= 15;
x /= 15;
var tM = $M([
[1, 0, 0, -x*1E-4],
[0, 1, 0, -y*1E-4],
[0, 0, 1, 1],
[0, 0, 0, 1]
]);
var s = "matrix3d(";
s += tM.e(1,1).toFixed(10) + "," + tM.e(1,2).toFixed(10) + "," + tM.e(1,3).toFixed(10) + "," + tM.e(1,4).toFixed(10) + ",";
s += tM.e(2,1).toFixed(10) + "," + tM.e(2,2).toFixed(10) + "," + tM.e(2,3).toFixed(10) + "," + tM.e(2,4).toFixed(10) + ",";
s += tM.e(3,1).toFixed(10) + "," + tM.e(3,2).toFixed(10) + "," + tM.e(3,3).toFixed(10) + "," + tM.e(3,4).toFixed(10) + ",";
s += tM.e(4,1).toFixed(10) + "," + tM.e(4,2).toFixed(10) + "," + tM.e(4,3).toFixed(10) + "," + tM.e(4,4).toFixed(10);
s += ")";
$(this).css({
transform: s
});
});
</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/sylvester/0.1.3/sylvester.js"></script>
</body></html>