-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathjquery.flip-quote.css
79 lines (67 loc) · 1.62 KB
/
jquery.flip-quote.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
70
71
72
73
74
75
76
77
78
/*
* jquery.flip-quote.css, jQuery Flip-Quote
*
* View the plugin repository at:
* https://github.com/markserbol/flip-quote
*
*/
.fQ_container {
position:relative;
cursor:pointer;
-moz-perspective: 800px;
-webkit-perspective: 800px;
perspective: 800px;
font-size:24px;
font-family:'Segoe UI', 'Segoe', 'Open Sans', sans-serif;
}
.fQ_container div {
position:absolute;
top:0;
left:0;
width:100%;
height:auto;
text-align:center;
background:#0080C0;
color:#FFF;
-moz-backface-visibility: hidden;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-moz-transform-style: preserve-3d;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
/*-moz-transition:0.8s;
-webkit-transition: 0.8s;
transition: 0.8s;*/
-moz-animation: pulse 2s infinite;
-webkit-animation: pulse 2s infinite;
}
.fQ_front {
opacity:0;
z-index:2;
-moz-transform:rotateX(180deg);
-webkit-transform:rotateX(180deg);
transform:rotateX(180deg);
}
.fQ_back {
z-index:3;
height:100%;
}
.fQ_container.fQ_flip .fQ_front {
opacity:1;
-moz-transform:rotateX(0deg);
-webkit-transform:rotateX(0deg);
transform:rotateX(0deg);
}
.fQ_container.fQ_flip .fQ_back {
opacity:0;
-moz-transform:rotateX(-180deg);
-webkit-transform:rotateX(-180deg);
transform:rotateX(-180deg);
}
.fQ_quote {
background-color:transparent;
-moz-transition:background-color 0.8s ease-in-out, color 0.4s ease-in-out;
-webkit-transition:background-color 0.8s ease-in-out, color 0.4s ease-in-out;
-o-transition:background-color 0.8s ease-in-out, color 0.4s ease-in-out;
transition:background-color 0.8s ease-in-out, color 0.4s ease-in-out;
}