I've been searching high and low for a solution to my problem. I have a div that displays the information about who's playing on an online radio station.
The width of the div is set to 200px, but when the artist and song title are too long, the text gets cut off due to overflow:hidden property being applied.
I am looking to create a scrolling effect where the entire text moves from left to right, allowing the right side of the text to become visible as the left side goes outside the boundaries of the div. Can someone please guide me in the right direction?
Thank you!
<div class="radioco_song">EBTG - Driving (The Underdog Remix)</div>
and
.radioco_song {
font-size: 16px !important;
white-space: nowrap;
width: 200px;
overflow: hidden;
border: 1px solid #ccc;
padding: 10px;
}