-
Notifications
You must be signed in to change notification settings - Fork 2
/
3dwalls.html
76 lines (67 loc) · 3.26 KB
/
3dwalls.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Movie Posters 3dwall</title>
<link rel="stylesheet" href="">
<style>
/* BASIC RESET */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input{margin:0; padding:0;}
/* HTML ELEMENTS */
body { background-color:#deddcd; font:14px/21px Arial,Helvetica,sans-serif; }
/* COMMON CLASSES */
.container {width:960px;
margin: 40px auto }
#movieposters {list-style:none; margin:100px 0; height:550px;}
#movieposters li { display:inline-block; float:left;
-webkit-perspective: 500; -webkit-transform-style: preserve-3d;
-webkit-transition-property: perspective; -webkit-transition-duration: 0.5s; }
#movieposters li:hover { -webkit-perspective: 5000; }
#movieposters li img { border:10px solid #fcfafa; -webkit-transform: rotateY(30deg);
-moz-box-shadow:0 3px 10px #888; -webkit-box-shadow:0 3px 10px #888;
-webkit-transition-property: transform; -webkit-transition-duration: 0.5s; }
#movieposters li:hover img { -webkit-transform: rotateY(0deg); }
.movieinfo { border:10px solid #fcfafa; padding:20px; width:200px; height:180px; background-color:#deddcd; margin:-195px 0 0 55px; position:absolute;
-moz-box-shadow:0 20px 40px #888; -webkit-box-shadow:0 20px 40px #888;
-webkit-transform: translateZ(30px) rotateY(30deg);
-webkit-transition-property: transform, box-shadow, margin; -webkit-transition-duration: 0.5s; }
#movieposters li:hover .movieinfo { -webkit-transform: rotateY(0deg); -webkit-box-shadow:0 5px 10px #888; margin:-175px 0 0 30px; }
.movieinfo h3 { color:#7a3f3a; font-variant: small-caps; font-family:Georgia,serif,Times; text-align:center; padding-bottom:15px; }
.movieinfo p { padding-bottom:15px; }
.movieinfo a { background-color:#7a3f3a; padding:5px 10px; color:#eee; text-decoration:none; display:block; width:80px; text-align:center; margin:0 auto;
-moz-border-radius:5px; -webkit-border-radius:5px; }
.movieinfo a:hover, .movieinfo a:focus { background-color:#6a191f; color:#fff; }
</style>
</head>
<body>
<div class="container">
<ul id="movieposters">
<li>
<img src="http://osgp88fat.bkt.clouddn.com/img/01_iron_man_2.jpg" alt="Iron Man 2"/>
<div class="movieinfo">
<h3>Iron Man 2</h3>
<p>With the world now aware of his dual life as the armored superhero Iron Man, billionaire inventor Tony...</p>
<a href="http://www.imdb.com/title/tt1228705/">More info</a>
</div>
</li>
<li>
<img src="http://osgp88fat.bkt.clouddn.com/img/02_the_last_airbender.jpg" alt="The Last Airbender" />
<div class="movieinfo">
<h3>The Last Airbender</h3>
<p>The story follows the adventures of Aang, a young successor to a long line of Avatars, who must put his...</p>
<a href="http://www.imdb.com/title/tt0938283/" title="Iron Man 2">More info</a>
</div>
</li>
<li>
<img src="http://osgp88fat.bkt.clouddn.com/img/03_tron_legacy.jpg" alt="Tron Legacy" />
<div class="movieinfo">
<h3>Tron Legacy</h3>
<p>Sam Flynn, the tech-savvy 27-year-old son of Kevin Flynn, looks into his father's disappearance and finds...</p>
<a href="http://www.imdb.com/title/tt1104001/" title="Tron Legacy">More info</a>
</div>
</li>
</ul>
</div>
</body>
</html>