Guest User

Untitled

a guest
Mar 19th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. @-webkit-keyframes ticker {
  2. 0% {
  3. -webkit-transform: translate3d(0, 0, 0);
  4. transform: translate3d(0, 0, 0);
  5. visibility: visible;
  6. }
  7. 100% {
  8. -webkit-transform: translate3d(-100%, 0, 0);
  9. transform: translate3d(-100%, 0, 0);
  10. }
  11. }
  12. @keyframes ticker {
  13. 0% {
  14. -webkit-transform: translate3d(0, 0, 0);
  15. transform: translate3d(0, 0, 0);
  16. visibility: visible;
  17. }
  18. 100% {
  19. -webkit-transform: translate3d(-100%, 0, 0);
  20. transform: translate3d(-100%, 0, 0);
  21. }
  22. }
  23. .ticker {
  24. background-color: #131722;
  25. display: block;
  26. width: 100%;
  27. overflow: hidden;
  28. box-sizing: content-box;
  29. }
  30. .ticker .ticker-inner {
  31. display: inline-block;
  32. white-space: nowrap;
  33. padding-right: 100%;
  34. box-sizing: content-box;
  35. -webkit-animation-iteration-count: infinite;
  36. animation-iteration-count: infinite;
  37. -webkit-animation-timing-function: linear;
  38. animation-timing-function: linear;
  39. -webkit-animation-name: ticker;
  40. animation-name: ticker;
  41. -webkit-animation-duration: 800s;
  42. animation-duration: 800s;
  43. }
Add Comment
Please, Sign In to add comment