1.marquee-container {
2 white-space: nowrap;
3 overflow: hidden;
4}
5
6.marquee-item {
7 display: inline-block;
8 position: relative;
9 right: 0%;
10 transform: translateX(0%);
11 transition: right 1s, transform 1s;
12}
13
14.marquee-container:hover .marquee-item {
15 right: -100%;
16 transform: translateX(-100%);
17}