Advertisement
Guest User

Untitled

a guest
Sep 1st, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. body {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. #slideshow {
  6. position: relative;
  7. overflow: hidden;
  8. height: 100px;
  9. }
  10. #animate-area {
  11. height: 100%;
  12. width: 2538px;
  13. position: absolute;
  14. left: 0;
  15. top: 0;
  16. background-image: url('http://s30.postimg.org/qnju89rkx/banner.png');
  17.  
  18. -webkit-animation: animatedBackground 40s linear infinite;
  19. }
  20. /* Put your css in here */
  21. @keyframes animatedBackground {
  22. from { left: 0; }
  23. to { left: -1269px; }
  24. }
  25. @-webkit-keyframes animatedBackground {
  26. from { left: 0; }
  27. to { left: -1269px; }
  28. }
  29. @-moz-keyframes animatedBackground {
  30. from { left: 0; }
  31. to { left: -1269px; }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement