-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path3d.html
124 lines (116 loc) · 4.31 KB
/
3d.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style type="text/css">
.wrapper {
display: inline-block;
width: 225px;
height: 60px;
vertical-align: top;
margin-bottom:15px;
cursor: pointer;
position: relative;
font-family: Tahoma, Arial;
}
.item {
height: 60px;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-transition: -webkit-transform .6s;
-moz-transition: -moz-transform .6s;
-ms-transition: -ms-transform .6s;
-o-transition: -o-transform .6s;
transition: transform .6s;
}
.item:hover {
-webkit-transform: translateZ(-30px) rotateX(95deg);
/*-moz-transform: translateZ(-30px) rotateX(95deg);*/
/*-o-transform: translateZ(-30px) rotateX(95deg);*/
/*transform: translateZ(-30px) rotateX(95deg);*/
/*-ms-transform: translateZ(0) rotateX(0);*/
}
.item:hover img {
box-shadow: none;
border-radius: 15px; top:-5px;
}
.item:hover .information {
box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
border-radius: 3px;
color:#333;
}
.item img {
width: 225px;
height: 60px;
display: block;
position: absolute;
top: 0;
border-radius: 3px;
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
-webkit-transform: translateZ(30px);
-moz-transform: translateZ(30px);
-ms-transform: translateZ(30px);
-o-transform: translateZ(30px);
transform: translateZ(30px);
-webkit-transition: all .6s;
-moz-transition: all .6s;
-ms-transition: all .6s;
-o-transition: all .6s;
transition: all .6s;
}
.item .information {
text-decoration:none;
color:#AAA;
display: block;
position: absolute;
top: 0;
height:40px;
width: 205px;
text-align: left;
border-radius: 15px;
padding: 10px;
font-size: 12px;
text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
box-shadow: none;
background: rgb(236,241,244);
background: -moz-linear-gradient(top, rgba(236,241,244,1) 0%, rgba(190,202,217,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(236,241,244,1)), color-stop(100%,rgba(190,202,217,1)));
background: -webkit-linear-gradient(top, rgba(236,241,244,1) 0%,rgba(190,202,217,1) 100%);
background: -o-linear-gradient(top, rgba(236,241,244,1) 0%,rgba(190,202,217,1) 100%);
background: -ms-linear-gradient(top, rgba(236,241,244,1) 0%,rgba(190,202,217,1) 100%);
background: linear-gradient(to bottom, rgba(236,241,244,1) 0%,rgba(190,202,217,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ecf1f4', endColorstr='#becad9',GradientType=0 );
-webkit-transform: rotateX(-90deg) translateZ(30px);
-moz-transform: rotateX(-90deg) translateZ(30px);
-ms-transform: rotateX(-90deg) translateZ(30px);
-o-transform: rotateX(-90deg) translateZ(30px);
transform: rotateX(-90deg) translateZ(30px);
-webkit-transition: all .6s;
-moz-transition: all .6s;
-ms-transition: all .6s;
-o-transition: all .6s;
transition: all .6s;
}
.information strong {
display: block;
margin-bottom:3px;
font-size: 20px;
}
</style>
</head>
<body>
<div class="wrapper">
<div class="item">
<img src="http://www.52ij.com/uploads/allimg/160317/0Q91622b-5.jpg">
<span class="information">
<strong>腾讯SNG招前端</strong>
哟小V
</span>
</div>
</div>
</body>
</html>