-1
One way to do this sign is to use the CSS property 'Animation' and the rule '@keyframes', which controls the intermediate stages in an animation sequence, together with the function 'translateX()` which repositions an element horizontally.
.letreiro {
width: 200px;
height: 50px;
border-style: solid;
border-color: red;
overflow: hidden;
position: relative;
}
.letreiro p {
position: absolute;
font-size: 2.3em;
width: 380px;
margin: 0;
transform: translateX(100%);
animation: rolagem 5s linear infinite;
}
@keyframes rolagem {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(-100%);
}
}
<div class="letreiro">
<p>G1 - O Portal de notícias.</p>
</div>
Friend, see this example and tell me if it helps you. It’s only with CSS
– Jakson Fischer
Duplicate of https://answall.com/questions/2960/barra-informa%C3%A7%C3%B5es-estilo-tv-similar-a-tag-Marquee/ and of https://answall.com/questions/11862/comort-fazer-um-marquee-sema-tag-marquee
– hugocsl