carousel.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. @-webkit-keyframes iosDeviceCarousel {
  2. 0% {
  3. opacity:1;
  4. }
  5. 17% {
  6. opacity:1;
  7. }
  8. 25% {
  9. opacity:0;
  10. }
  11. 92% {
  12. opacity:0;
  13. }
  14. 100% {
  15. opacity:1;
  16. }
  17. }
  18. @-moz-keyframes iosDeviceCarousel {
  19. 0% {
  20. opacity:1;
  21. }
  22. 17% {
  23. opacity:1;
  24. }
  25. 25% {
  26. opacity:0;
  27. }
  28. 92% {
  29. opacity:0;
  30. }
  31. 100% {
  32. opacity:1;
  33. }
  34. }
  35. @-o-keyframes iosDeviceCarousel {
  36. 0% {
  37. opacity:1;
  38. }
  39. 17% {
  40. opacity:1;
  41. }
  42. 25% {
  43. opacity:0;
  44. }
  45. 92% {
  46. opacity:0;
  47. }
  48. 100% {
  49. opacity:1;
  50. }
  51. }
  52. @keyframes iosDeviceCarousel {
  53. 0% {
  54. opacity:1;
  55. }
  56. 17% {
  57. opacity:1;
  58. }
  59. 25% {
  60. opacity:0;
  61. }
  62. 92% {
  63. opacity:0;
  64. }
  65. 100% {
  66. opacity:1;
  67. }
  68. }
  69. #iosDevice {
  70. position:relative;
  71. margin:0 auto;
  72. }
  73. #iosDevice img {
  74. position:absolute;
  75. left:0;
  76. -webkit-animation-name: iosDeviceCarousel;
  77. -webkit-animation-timing-function: ease-in-out;
  78. -webkit-animation-iteration-count: infinite;
  79. -webkit-animation-duration: 16s;
  80. -moz-animation-name: iosDeviceCarousel;
  81. -moz-animation-timing-function: ease-in-out;
  82. -moz-animation-iteration-count: infinite;
  83. -moz-animation-duration: 16s;
  84. -o-animation-name: iosDeviceCarousel;
  85. -o-animation-timing-function: ease-in-out;
  86. -o-animation-iteration-count: infinite;
  87. -o-animation-duration: 16s;
  88. animation-name: iosDeviceCarousel;
  89. animation-timing-function: ease-in-out;
  90. animation-iteration-count: infinite;
  91. animation-duration: 16s;
  92. }
  93. #iosDevice img:nth-of-type(1) {
  94. -webkit-animation-delay: 12s;
  95. -moz-animation-delay: 12s;
  96. -o-animation-delay: 12s;
  97. animation-delay: 12s;
  98. }
  99. #iosDevice img:nth-of-type(2) {
  100. -webkit-animation-delay: 8s;
  101. -moz-animation-delay: 8s;
  102. -o-animation-delay: 8s;
  103. animation-delay: 8s;
  104. }
  105. #iosDevice img:nth-of-type(3) {
  106. -webkit-animation-delay: 4s;
  107. -moz-animation-delay: 4s;
  108. -o-animation-delay: 4s;
  109. animation-delay: 4s;
  110. }
  111. #iosDevice img:nth-of-type(4) {
  112. -webkit-animation-delay: 0;
  113. -moz-animation-delay: 0;
  114. -o-animation-delay: 0;
  115. animation-delay: 0;
  116. }