To create running or scrolling text in your website follow this tutorial, if your website in HTML CSS, or WordPress, no matter you can implement anywhere.
Running text with marquee tag.
<marquee direction="left" behavior="alternate" scrollamount="20" loop="10" onmouseover="this.stop();" onmouseout="this.start();"> WWEngineer - Advanced Running/Scrolling Text. </marquee>
Running text with CSS.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Running Text</title>
<link rel="stylesheet" href="style.css">
<style>
.news-container {
position: fixed;
top: 0;
left: 0;
right: 0;
font-family: "Roboto", sans-serif;
box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.3);
}
.news-container .title {
position: absolute;
background: #3108fb;
height: 100%;
display: flex;
align-items: center;
padding: 0 24px;
color: white;
font-weight: bold;
z-index: 200;
}
.news-container ul {
display: flex;
list-style: none;
margin: 0;
animation: scroll 25s infinite linear;
}
.news-container ul li {
white-space: nowrap;
padding: 10px 24px;
color: #494949;
position: relative;
}
.news-container ul li::after {
content:"";
width: 1px;
height: 100%;
background: #b8b8b8;
position: absolute;
top: 0;
right: 0;
}
.news-container ul li:last-child::after {
display: none;
}
@keyframes scroll {
from {
transform: translateX(100%);
}
to {
transform: translateX(-1083px);
}
}
</style>
</head>
<body>
<div class="news-container">
<div class="title">
Today's Now
</div>
<ul>
<li>
Running text sample. Scrolling text sample. AAA
</li>
<li>
Running text sample. Scrolling text sample. BBB
</li>
<li>
Running text sample. Scrolling text sample. CCC
</li>
</ul>
</div>
</body>
</html>



