Advertisement
Guest User

Untitled

a guest
May 28th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.94 KB | None | 0 0
  1. <style>
  2.  
  3. @-webkit-keyframes lr {
  4. 0% { margin-left: 0px; }
  5. 25% { margin-left: 200px; }
  6. 50% { margin-left: -110px;}
  7. 100% { margin-left: 0px; }
  8. }
  9.  
  10. @-moz-keyframes lr {
  11. 0% { margin-left: 0px; }
  12. 25% { margin-left: 10px; }
  13. 50% { margin-left: -10px; }
  14. 100% { margin-left: 0px; }
  15. }
  16.  
  17. @-o-keyframes lr {
  18. 0% { margin-left: 0px; }
  19. 25% { margin-left: 10px; }
  20. 50% { margin-left: -10px; }
  21. 100% { margin-left: 0px; }
  22. }
  23.  
  24. @keyframes lr {
  25. 0% { left: 0px; }
  26. 25% { left: -10px;}
  27. 50% { left: 100px;}
  28. 100% { left: 0px; }
  29. }
  30.  
  31. @-webkit-keyframes lr1 {
  32. 0% { margin-left: 0px; opacity: 1;}
  33. 25% { margin-left: 180px; opacity: .6; }
  34. 50% { margin-left: 30px; opacity: .1;}
  35. 100% { margin-left: 0px; opacity: .7; }
  36. }
  37.  
  38. @-moz-keyframes lr1 {
  39. 0% { margin-left: 0px; opacity: 1;}
  40. 25% { margin-left: 180px; opacity: .6; }
  41. 50% { margin-left: 30px; opacity: .1;}
  42. 100% { margin-left: 0px; opacity: .7; }
  43. }
  44.  
  45. @-o-keyframes lr1 {
  46. 0% { margin-left: 0px; opacity: 1;}
  47. 25% { margin-left: 180px; opacity: .6; }
  48. 50% { margin-left: 30px; opacity: .1;}
  49. 100% { margin-left: 0px; opacity: .7; }
  50. }
  51.  
  52. @keyframes lr1 {
  53. 0% { margin-left: 0px; opacity: 1;}
  54. 25% { margin-left: 180px; opacity: .6; }
  55. 50% { margin-left: 30px; opacity: .1;}
  56. 100% { margin-left: 0px; opacity: .7; }
  57. }
  58.  
  59. @-webkit-keyframes lr2 {
  60. 0% { margin-right: 0px; opacity: 1;}
  61. 25% { margin-right: 250px; opacity: .3; }
  62. 50% { margin-right: 350px; opacity: .5;}
  63. 100% { margin-right: 0px; opacity: .7; }
  64. }
  65.  
  66. @-moz-keyframes lr2 {
  67. 0% { margin-right: 0px; opacity: 1;}
  68. 25% { margin-right: 250px; opacity: .3; }
  69. 50% { margin-right: 350px; opacity: .5;}
  70. 100% { margin-right: 0px; opacity: .7; }
  71. }
  72.  
  73. @-o-keyframes lr2 {
  74. 0% { margin-right: 0px; opacity: 1;}
  75. 25% { margin-right: 250px; opacity: .3; }
  76. 50% { margin-right: 350px; opacity: .5;}
  77. 100% { margin-right: 0px; opacity: .7; }
  78. }
  79.  
  80. @keyframes lr2 {
  81. 0% { margin-right: 0px; opacity: 1;}
  82. 25% { margin-right: 250px; opacity: .3; }
  83. 50% { margin-right: 350px; opacity: .5;}
  84. 100% { margin-right: 0px; opacity: .7; }
  85. }
  86.  
  87. @-webkit-keyframes lr3 {
  88. 0% { margin-right: 0px; opacity: 1;}
  89. 25% { margin-right: 250px; opacity: .3; }
  90. 50% { margin-right: 350px; opacity: .5;}
  91. 100% { margin-right: 0px; opacity: .7; }
  92. }
  93.  
  94. @-moz-keyframes lr3 {
  95. 0% { margin-right: 0px; opacity: 1;}
  96. 25% { margin-right: 250px; opacity: .3; }
  97. 50% { margin-right: 350px; opacity: .5;}
  98. 100% { margin-right: 0px; opacity: .7; }
  99. }
  100.  
  101. @-o-keyframes lr3 {
  102. 0% { margin-right: 0px; opacity: 1;}
  103. 25% { margin-right: 250px; opacity: .3; }
  104. 50% { margin-right: 350px; opacity: .5;}
  105. 100% { margin-right: 0px; opacity: .7; }
  106. }
  107.  
  108. @keyframes lr3 {
  109. 0% { margin-right: 0px; opacity: 1;}
  110. 25% { margin-right: 350px; opacity: .5; }
  111. 50% { margin-right: 300px; opacity: .5;}
  112. 100% { margin-right: 0px; opacity: .1; }
  113. }
  114.  
  115. body {
  116. background-color: #ccc;
  117. }
  118.  
  119. #a {
  120. height: 100%;
  121. width: 100%;
  122. position: fixed;
  123. top: 0px;
  124. left: 0px;
  125. background-image: url('http://i.picpar.com/FSvc.gif');
  126. background-size: cover;
  127. background-repeat: no-repeat;
  128. }
  129.  
  130. #b{
  131. height: 100%;
  132. width: 100%;
  133. position: fixed;
  134. top: 0px;
  135. left: 0px;
  136. background-image: url('http://i.picpar.com/NSvc.gif');
  137. background-size: cover;
  138. background-repeat: no-repeat;
  139. opacity: .5;
  140. }
  141.  
  142. #c {
  143. height: 100%;
  144. width: 100%;
  145. position: fixed;
  146. top: 0px;
  147. left: 0px;
  148. background-color: #000;
  149. opacity: .7;
  150. overflow: hidden;
  151. z-index: 1;
  152. }
  153.  
  154. #one {
  155. position: fixed;
  156. margin: auto;
  157. bottom: 0px;
  158. left: 0px;
  159. right: 0px;
  160. height: 361px;
  161. width: 400px;
  162. overflow: hidden;
  163. z-index: 100;
  164. opacity: .7;
  165. -webkit-animation: lr .5s infinite;
  166. -moz-animation: lr .5s infinite;
  167. -o-animation: lr .5s infinite;
  168. animation: lr .5s infinite;
  169. }
  170.  
  171. #two {
  172. position: fixed;
  173. margin: auto;
  174. bottom: 0px;
  175. left: 150px;
  176. right: 0px;
  177. height: 361px;
  178. width: 400px;
  179. overflow: hidden;
  180. z-index: 100;
  181. opacity: .7;
  182. -webkit-animation: lr1 .5s infinite;
  183. -moz-animation: lr1 .5s infinite;
  184. -o-animation: lr1 .5s infinite;
  185. animation: lr1 .5s infinite;
  186. }
  187.  
  188. #three {
  189. position: fixed;
  190. margin: auto;
  191. bottom: 0px;
  192. left: 150px;
  193. right: 0px;
  194. height: 361px;
  195. width: 400px;
  196. overflow: hidden;
  197. z-index: 100;
  198. opacity: .7;
  199. -webkit-animation: lr2 .8s infinite;
  200. -moz-animation: lr2 .8s infinite;
  201. -o-animation: lr2 .8s infinite;
  202. animation: lr2 .8s infinite;
  203. }
  204.  
  205. #four {
  206. position: fixed;
  207. margin: auto;
  208. bottom: 0px;
  209. left: 150px;
  210. right: 0px;
  211. height: 361px;
  212. width: 400px;
  213. overflow: hidden;
  214. z-index: 100;
  215. opacity: .7;
  216. -webkit-animation: lr3 .8s infinite;
  217. -moz-animation: lr3 .7s infinite;
  218. -o-animation: lr3 .7s infinite;
  219. animation: lr3 .7s infinite;
  220. }
  221.  
  222.  
  223. </style>
  224.  
  225. <div id="a">
  226. </div>
  227. <div id="c">
  228. </div>
  229. <div id="b">
  230.  
  231. <div id="one">
  232. <img src="http://i.picpar.com/jTvc.png">
  233. </div>
  234.  
  235. <div id="two">
  236. <img src="http://i.picpar.com/jTvc.png">
  237. </div>
  238.  
  239. <div id="three">
  240. <img src="http://i.picpar.com/jTvc.png">
  241. </div>
  242.  
  243. <div id="four">
  244. <img src="http://i.picpar.com/jTvc.png">
  245. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement