Blogger Information
Blog 11
fans 0
comment 0
visits 13148
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
纯CSS3实现div按照顺序出入效果
**沐曦??
Original
520 people have browsed it
  1. 代码:
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. 8
  10. 9
  11. 10
  12. 11
  13. 12
  14. 13
  15. 14
  16. 15
  17. 16
  18. 17
  19. 18
  20. 19
  21. 20
  22. 21
  23. 22
  24. 23
  25. 24
  26. 25
  27. 26
  28. 27
  29. 28
  30. 29
  31. 30
  32. 31
  33. 32
  34. 33
  35. 34
  36. 35
  37. 36
  38. 37
  39. 38
  40. 39
  41. 40
  42. 41
  43. 42
  44. 43
  45. 44
  46. 45
  47. 46
  48. 47
  49. 48
  50. 49
  51. 50
  52. 51
  53. 52
  54. 53
  55. 54
  56. 55
  57. 56
  58. 57
  59. 58
  60. 59
  61. 60
  62. 61
  63. 62
  64. 63
  65. 64
  66. 65
  67. 66
  68. 67
  69. 68
  70. 69
  71. 70
  72. 71
  73. 72
  74. <!DOCTYPE html>
  75. <html>
  76. <head>
  77. <meta charset="UTF-8">
  78. <title></title>
  79. <style type="text/css">
  80. div{
  81. margin-top: 10px;
  82. height: 50px;
  83. background-color: #FF0000;
  84. opacity: 0.6;
  85. }
  86. .a{
  87. animation: aa 2s linear 100ms infinite;
  88. }
  89. .b{
  90. animation: bb 2s linear infinite
  91. }
  92. .c{
  93. animation: cc 2s linear infinite
  94. }
  95. .d{
  96. animation:dd 2s linear infinite
  97. }
  98. @keyframes aa{
  99. 0%{width: 0;}
  100. 25%{width:200px;}
  101. 50%{width:200px;}
  102. 75%{width:200px;}
  103. 100%{width:200px;}
  104. }
  105. @keyframes bb{
  106. 0%{width: 0;}
  107. 25%{width:0px;}
  108. 50%{width:200px;}
  109. 75%{width:200px;}
  110. 100%{width:200px;}
  111. }
  112. @keyframes cc{
  113. 0%{width: 0;}
  114. 25%{width:0px;}
  115. 50%{width:0px;}
  116. 75%{width:200px;}
  117. 100%{width:200px;}
  118. }
  119. @keyframes dd{
  120. 0%{width: 0;}
  121. 25%{width:0px;}
  122. 50%{width:0px;}
  123. 75%{width:0px;}
  124. 100%{width:200px;}
  125. }
  126. </style>
  127. </head>
  128. <body>
  129. <div class="a">
  130. </div>
  131. <div class="b">
  132. </div>
  133. <div class="c">
  134. </div>
  135. <div class="d">
  136. </div>
  137. </body>
  138. </html>
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post