"3d img card"
Bootstrap 3.0.0 Snippet by evarevirus

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
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 ---------->
<aside id="background">
<section id="content">
<article class="thumb" thumb="thumb">
<div class="movable" thumb-moveable="thumb-moveable">
<div class="layers">
<div class="layer one" thumb-layer-one="thumb-layer-one"></div>
<div class="layer two" thumb-layer-two="thumb-layer-two"></div>
<div class="layer three" thumb-layer-three="thumb-layer-three">
<h1> <span>true</span><br/><span>detective</span></h1>
<h2><span>stan van oers</span></h2>
</div>
</div>
</div>
</article>
</section>
</aside>
<script>
(function() {
var AppleTvOs;
AppleTvOs = (function() {
function AppleTvOs(thumbElement) {
var i, len, thumb, thumbs;
this.thumbElement = thumbElement;
console.log("Apple TV UI started!");
this.settings = {};
this.settings.boundsX = 10;
this.settings.boundsY = 60;
this.settings.intensityX = .5;
this.settings.intensityY = .1;
this.settings.animationSpeed = .6;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
@import url(https://fonts.googleapis.com/css?family=Oswald:400,300,700);
/* Variables */
/* Structure */
* {
box-sizing: border-box;
}
#background {
position: absolute;
width: 100%;
height: 100%;
background: -webkit-linear-gradient(#f7f6ff, #cddee8);
background: linear-gradient(#f7f6ff, #cddee8);
z-index: 0;
}
#content {
position: absolute;
z-index: 1;
left: 50%;
top: 50%;
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}
.thumb {
width: 220px;
height: 300px;
float: left;
margin: 0 20px;
-webkit-perspective: 400px;
perspective: 400px;
}
.thumb .movable {
pointer-events: none;
width: 100%;
height: 100%;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: