owl.transitions.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. /*
  2. * Owl Carousel CSS3 Transitions
  3. * v1.3.2
  4. */
  5. .owl-origin {
  6. -webkit-perspective: 1200px;
  7. -webkit-perspective-origin-x : 50%;
  8. -webkit-perspective-origin-y : 50%;
  9. -moz-perspective : 1200px;
  10. -moz-perspective-origin-x : 50%;
  11. -moz-perspective-origin-y : 50%;
  12. perspective : 1200px;
  13. }
  14. /* fade */
  15. .owl-fade-out {
  16. z-index: 10;
  17. -webkit-animation: fadeOut .7s both ease;
  18. -moz-animation: fadeOut .7s both ease;
  19. animation: fadeOut .7s both ease;
  20. }
  21. .owl-fade-in {
  22. -webkit-animation: fadeIn .7s both ease;
  23. -moz-animation: fadeIn .7s both ease;
  24. animation: fadeIn .7s both ease;
  25. }
  26. /* backSlide */
  27. .owl-backSlide-out {
  28. -webkit-animation: backSlideOut 1s both ease;
  29. -moz-animation: backSlideOut 1s both ease;
  30. animation: backSlideOut 1s both ease;
  31. }
  32. .owl-backSlide-in {
  33. -webkit-animation: backSlideIn 1s both ease;
  34. -moz-animation: backSlideIn 1s both ease;
  35. animation: backSlideIn 1s both ease;
  36. }
  37. /* goDown */
  38. .owl-goDown-out {
  39. -webkit-animation: scaleToFade .7s ease both;
  40. -moz-animation: scaleToFade .7s ease both;
  41. animation: scaleToFade .7s ease both;
  42. }
  43. .owl-goDown-in {
  44. -webkit-animation: goDown .6s ease both;
  45. -moz-animation: goDown .6s ease both;
  46. animation: goDown .6s ease both;
  47. }
  48. /* scaleUp */
  49. .owl-fadeUp-in {
  50. -webkit-animation: scaleUpFrom .5s ease both;
  51. -moz-animation: scaleUpFrom .5s ease both;
  52. animation: scaleUpFrom .5s ease both;
  53. }
  54. .owl-fadeUp-out {
  55. -webkit-animation: scaleUpTo .5s ease both;
  56. -moz-animation: scaleUpTo .5s ease both;
  57. animation: scaleUpTo .5s ease both;
  58. }
  59. /* Keyframes */
  60. /*empty*/
  61. @-webkit-keyframes empty {
  62. 0% {opacity: 1}
  63. }
  64. @-moz-keyframes empty {
  65. 0% {opacity: 1}
  66. }
  67. @keyframes empty {
  68. 0% {opacity: 1}
  69. }
  70. @-webkit-keyframes fadeIn {
  71. 0% { opacity:0; }
  72. 100% { opacity:1; }
  73. }
  74. @-moz-keyframes fadeIn {
  75. 0% { opacity:0; }
  76. 100% { opacity:1; }
  77. }
  78. @keyframes fadeIn {
  79. 0% { opacity:0; }
  80. 100% { opacity:1; }
  81. }
  82. @-webkit-keyframes fadeOut {
  83. 0% { opacity:1; }
  84. 100% { opacity:0; }
  85. }
  86. @-moz-keyframes fadeOut {
  87. 0% { opacity:1; }
  88. 100% { opacity:0; }
  89. }
  90. @keyframes fadeOut {
  91. 0% { opacity:1; }
  92. 100% { opacity:0; }
  93. }
  94. @-webkit-keyframes backSlideOut {
  95. 25% { opacity: .5; -webkit-transform: translateZ(-500px); }
  96. 75% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
  97. 100% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
  98. }
  99. @-moz-keyframes backSlideOut {
  100. 25% { opacity: .5; -moz-transform: translateZ(-500px); }
  101. 75% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
  102. 100% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
  103. }
  104. @keyframes backSlideOut {
  105. 25% { opacity: .5; transform: translateZ(-500px); }
  106. 75% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
  107. 100% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
  108. }
  109. @-webkit-keyframes backSlideIn {
  110. 0%, 25% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(200%); }
  111. 75% { opacity: .5; -webkit-transform: translateZ(-500px); }
  112. 100% { opacity: 1; -webkit-transform: translateZ(0) translateX(0); }
  113. }
  114. @-moz-keyframes backSlideIn {
  115. 0%, 25% { opacity: .5; -moz-transform: translateZ(-500px) translateX(200%); }
  116. 75% { opacity: .5; -moz-transform: translateZ(-500px); }
  117. 100% { opacity: 1; -moz-transform: translateZ(0) translateX(0); }
  118. }
  119. @keyframes backSlideIn {
  120. 0%, 25% { opacity: .5; transform: translateZ(-500px) translateX(200%); }
  121. 75% { opacity: .5; transform: translateZ(-500px); }
  122. 100% { opacity: 1; transform: translateZ(0) translateX(0); }
  123. }
  124. @-webkit-keyframes scaleToFade {
  125. to { opacity: 0; -webkit-transform: scale(.8); }
  126. }
  127. @-moz-keyframes scaleToFade {
  128. to { opacity: 0; -moz-transform: scale(.8); }
  129. }
  130. @keyframes scaleToFade {
  131. to { opacity: 0; transform: scale(.8); }
  132. }
  133. @-webkit-keyframes goDown {
  134. from { -webkit-transform: translateY(-100%); }
  135. }
  136. @-moz-keyframes goDown {
  137. from { -moz-transform: translateY(-100%); }
  138. }
  139. @keyframes goDown {
  140. from { transform: translateY(-100%); }
  141. }
  142. @-webkit-keyframes scaleUpFrom {
  143. from { opacity: 0; -webkit-transform: scale(1.5); }
  144. }
  145. @-moz-keyframes scaleUpFrom {
  146. from { opacity: 0; -moz-transform: scale(1.5); }
  147. }
  148. @keyframes scaleUpFrom {
  149. from { opacity: 0; transform: scale(1.5); }
  150. }
  151. @-webkit-keyframes scaleUpTo {
  152. to { opacity: 0; -webkit-transform: scale(1.5); }
  153. }
  154. @-moz-keyframes scaleUpTo {
  155. to { opacity: 0; -moz-transform: scale(1.5); }
  156. }
  157. @keyframes scaleUpTo {
  158. to { opacity: 0; transform: scale(1.5); }
  159. }