JSFiddle - React, Tailwind, and code Playground

HTML

<div id="runner">
    <div id="controller">
        <div id="ticker">
            <div class="tweet">test</div>
            <div class="tweet">щось перше</div>
            <div class="tweet">щось друге</div>
            <div class="tweet">щось третє</div>
            <div class="tweet">а тут буде дуже дооооооооооооооооооооооооооооооооовгий текст</div>
        </div>
    </div>
</div>

CSS

#runner{
    border:1px solid black;    
    height: 50px;    
    overflow:hidden;
}
#controller {
    box-sizing: border-box;
    width: 20%;
    overflow:show;
    float:right;
    border:1px solid blue;
    height: 100%;
}
#controller:hover #ticker {
    -webkit-animation-play-state: running
}
#ticker {
    white-space: nowrap;
    -webkit-animation: move_eye 5s linear 0s infinite normal paused;
}
@-webkit-keyframes move_eye {
    from {
        -webkit-transform: translate(-300%, 0)
    }
    to {
        -webkit-transform: translate(-1000%, 0)
    }
}
.tweet {
    box-sizing: border-box;
    background-color: #EEE;
    display: inline-block;
    border-radius:5px;
    padding: 5px 10px;
    margin: 5px 2px;
    height: 100%;
}