Advertisement
electricmaster

JS Slider

Aug 24th, 2011
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.84 KB | None | 0 0
  1. @keyframes slide_forward{
  2.     0% {margin-left: -999px;}
  3.     100% {margin-left: 0;}
  4. }
  5. @-moz-keyframes slide_forward{
  6.     0% {margin-left: -999px;}
  7.     100% {margin-left: 0;}
  8. }
  9. @-webkit-keyframes slide_forward{
  10.     0% {margin-left: -999px;}
  11.     100% (margin-left: 0;)
  12. }
  13. @keyframes slide_backward{
  14.     0% {margin-left: -999px;}
  15.     100% {margin-left: 0px;}
  16. }
  17. @-moz-keyframes slide_backward{
  18.     0% {margin-left: 0px;}
  19.     100% {margin-left: -999px;}
  20. }
  21. @-webkit-keyframes slide_backward{
  22.     0% {margin-left: 0px;}
  23.     100% {margin-left: -999px;}
  24. }
  25. .slide > a > img{
  26.     width: 700px;
  27.     height: 200px;
  28. }
  29. .slide{
  30.     border: 1px white solid;
  31.     width: 700px;
  32.     height: 200px;
  33.     margin-left: auto;
  34.     margin-right: auto;
  35. }
  36. #slide2 { margin-top: -202px; margin-left: -999px; }
  37. #slide3 { margin-top: -203px; margin-left: -999px; }
  38. #slide4 { margin-top: -204px; margin-left: -999px; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement