forked from luwes/js-cover-flow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
coverflow.css
69 lines (63 loc) · 1.68 KB
/
coverflow.css
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
.coverflow {
z-index: 10;
position: relative;
opacity: 1;
overflow: hidden;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-text-size-adjust: none;
-ms-text-size-adjust: none;
-webkit-touch-callout: none;
-webkit-transition: opacity .7s;
-moz-transition: opacity .7s;
-ms-transition: opacity .7s;
-o-transition: opacity .7s;
transition: opacity .7s;
}
.coverflow .coverflow-wrap {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}
.coverflow .coverflow-wrap,
.coverflow .coverflow-tray {
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.coverflow .coverflow-tray,
.coverflow .coverflow-cell {
position: absolute;
-webkit-backface-visibility: hidden;
-webkit-transition: -webkit-transform .8s cubic-bezier(0.190,1.000,0.220,1.000);
-moz-transition: -moz-transform .8s cubic-bezier(0.190,1.000,0.220,1.000);
-ms-transition: -ms-transform .8s cubic-bezier(0.190,1.000,0.220,1.000);
-o-transition: -o-transform .8s cubic-bezier(0.190,1.000,0.220,1.000);
transition: transform .8s cubic-bezier(0.190,1.000,0.220,1.000);
}
.coverflow .coverflow-cell canvas {
outline: 1px solid transparent;
position: absolute;
opacity: 1;
-webkit-transition: opacity .7s;
-moz-transition: opacity .7s;
-ms-transition: opacity .7s;
-o-transition: opacity .7s;
transition: opacity .7s;
}
.coverflow-text {
position: absolute;
opacity: 1;
-webkit-transition: opacity .7s;
-moz-transition: opacity .7s;
-ms-transition: opacity .7s;
-o-transition: opacity .7s;
transition: opacity .7s;
width: 100%;
}
.coverflow-text h1,
.coverflow-text h2 {
margin: 0;
}