Skip to content

Instantly share code, notes, and snippets.

@hsnaydd
Created November 25, 2013 10:39
Show Gist options
  • Save hsnaydd/7639473 to your computer and use it in GitHub Desktop.
Save hsnaydd/7639473 to your computer and use it in GitHub Desktop.
marquee with css3
p.marquee{
-webkit-animation-name: marquee;
-webkit-animation-timing-function: linear;
-webkit-animation-duration:10s;
-webkit-animation-iteration-count: infinite;
margin: 0;
padding: 0;
overflow: hidden;
display: block;
white-space: nowrap;
}
@-webkit-keyframes marquee{
0%{
text-indent: 95%;
}
100%{
text-indent: -20%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment