IM12345_Web demo - 代码源于 商丘市12345项目

animation.css 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. .step1_bj {
  2. background-image: url(../img/step1_bj.png);
  3. background-repeat: no-repeat;
  4. background-position: center center;
  5. position: absolute;
  6. height: 1510px;
  7. width: 240px;
  8. left: 800px;
  9. top: 310px;
  10. z-index: 999999;
  11. }
  12. .step2_bj {
  13. background-image: url(../img/step2_bj.png);
  14. background-repeat: no-repeat;
  15. background-position: center center;
  16. position: absolute;
  17. height: 1012px;
  18. width: 232px;
  19. left: 2780px;
  20. top: 650px;
  21. }
  22. .step3_bj {
  23. background-image: url(../img/step3_bj.png);
  24. background-repeat: no-repeat;
  25. background-position: center center;
  26. position: absolute;
  27. height: 1012px;
  28. width: 235px;
  29. left: 4730px;
  30. top: 650px;
  31. z-index: 3333;
  32. }
  33. .step4_bj {
  34. background-image: url(../img/step4_bj.png);
  35. background-repeat: no-repeat;
  36. background-position: center center;
  37. position: absolute;
  38. height: 1530px;
  39. width: 220px;
  40. left: 6580px;
  41. top: 310px;
  42. z-index: 999999;
  43. }
  44. .step1_line {
  45. background-image: url(../img/step1_line.png);
  46. background-repeat: no-repeat;
  47. background-position: center center;
  48. position: absolute;
  49. height: 1510px;
  50. width: 240px;
  51. animation: step2_line 2s linear infinite;
  52. z-index: 999999;
  53. }
  54. .step2_line {
  55. background-image: url(../img/step2_line.png);
  56. background-repeat: no-repeat;
  57. background-position: center center;
  58. position: absolute;
  59. height: 1012px;
  60. width: 232px;
  61. animation: step3_line_l 2s linear infinite;
  62. }
  63. .step3_line {
  64. background-image: url(../img/step3_line.png);
  65. background-repeat: no-repeat;
  66. background-position: center center;
  67. position: absolute;
  68. height: 1012px;
  69. width: 235px;
  70. animation: step3_line_l 2s linear infinite;
  71. z-index: 3333;
  72. }
  73. .step4_line {
  74. background-image: url(../img/step4_line.png);
  75. background-repeat: no-repeat;
  76. background-position: center center;
  77. position: absolute;
  78. height: 1530px;
  79. width: 220px;
  80. left: 4730px;
  81. top: 650px;
  82. animation: step4_line_l 2s linear infinite;
  83. z-index: 999999;
  84. }
  85. .posi_line1{
  86. left: 800px;
  87. top: 310px;
  88. animation: step2_line 2s linear 0s infinite;
  89. }
  90. .posi_line2{
  91. left: 2780px;
  92. top: 650px;
  93. animation: step3_line_l 2s linear 4s infinite;
  94. }
  95. .posi_line3{
  96. left: 4730px;
  97. top: 650px;
  98. animation: step3_line_l 2s linear 6s infinite;
  99. }
  100. .posi_line4{
  101. left: 6580px;
  102. top: 310px;
  103. animation: step4_line_l 2s linear 8s infinite;
  104. }
  105. @keyframes step2_line {
  106. 0% { clip: rect(1540px, 240px, 1540px, 0px); }
  107. 50% { clip: rect(0px, 240px, 1540px, 0px); }
  108. 100% { clip: rect(0px, 240px, 0px, 0px); }
  109. }
  110. @keyframes step3_line_l {
  111. 0% { clip: rect(0px, 0px, 1012px, 0px); }
  112. 50% { clip: rect(0px, 235px, 1012px, 0px); }
  113. 100% { clip: rect(0px, 235px, 1012px, 235px); }
  114. }
  115. @keyframes step4_line_l {
  116. 0% { clip: rect(0px, 1540px, 0px, 0px); }
  117. 50% { clip: rect(0px, 235px, 1540px, 0px); }
  118. 100% { clip: rect(1540px, 235px, 1540px, 0px); }
  119. }
  120. /*边框*/
  121. /*动画1*/
  122. .imaxeventani_1::before,
  123. .imaxeventani_1::after {
  124. content: '';
  125. position:absolute;
  126. width:684px;
  127. height:229px;
  128. z-index: 0;
  129. left:34px;
  130. top:34px;
  131. box-shadow: inset 0 0 0 1px #00ffff;
  132. border: 5px solid #0d85ff;
  133. border-radius:5px;
  134. animation: imaxeventani_1 2s linear infinite;
  135. z-index: 22;
  136. }
  137. .imaxeventani_1::after { z-index: 0; animation-delay: -4s;}
  138. @keyframes imaxeventani_1 {
  139. 0%,100% { clip: rect(0px, 684px, 5px, 0px);}
  140. 25% { clip: rect(0px, 684px, 229px, 679px);}
  141. 50% { clip: rect(224px, 684px, 229px, 0px);}
  142. 75% { clip: rect(0px, 5px, 229px, 0px);}
  143. }
  144. /*动画2*/
  145. .imaxeventani_2::before,
  146. .imaxeventani_2::after {
  147. content: '';
  148. position:absolute;
  149. width:324px;
  150. height:900px;
  151. z-index: 0;
  152. left:0px;
  153. top:0px;
  154. box-shadow: inset 0 0 0 1px #00ffff;
  155. border: 5px solid #0d85ff;
  156. border-radius:5px;
  157. animation: imaxeventani_2 1s linear infinite;
  158. z-index: 22;
  159. }
  160. .imaxeventani_2::after { z-index: 0; animation-delay: -4s;}
  161. @keyframes imaxeventani_2 {
  162. 0%,100% { clip: rect(0px, 324px, 5px, 0px);}
  163. 25% { clip: rect(0px, 324px, 900px, 319px);}
  164. 50% { clip: rect(895px, 324px, 900px, 0px);}
  165. 75% { clip: rect(0px, 5px, 900px, 0px);}
  166. }