Sounds like you want a marquee effect. Have a poke around Google for CSS Marquee examples. Just be sure to do it in CSS as the HTML marquee tag has been deprecated.
A quick search will find something like this as an example:
.marquee {
width: 450px;
margin: 0 auto;
white-space: nowrap;
overflow: hidden;
box-sizing: border-box;
}
.marquee span {
display: inline-block;
padding-left: 100%;
will-change: transform;
/* show the marquee just outside the paragraph */
animation: marquee 15s linear infinite;
}
.marquee span:hover {
animation-play-state: paused
}
/* Make it move */
@keyframes marquee {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(-100%, 0);
}
}
/* Respect user preferences about animations */
@media (prefers-reduced-motion: reduce) {
.marquee {
white-space: normal
}
.marquee span {
animation: none;
padding-left: 0;
}
}
<p class="marquee">
<span>
Windows 8 and Windows RT are focused on your life—your friends
and family, your apps, and your stuff. With new things like the
Start screen, charms and a Microsoft account, you can spend
less time searching and more time doing.
</span>
</p>