.moving-banner {
  width: 100%;
  overflow: hidden;
  background: #000;
  color: #fff;
  padding: 10px 0;
}

.moving-banner-text {
  display: inline-block;
  white-space: nowrap;
  animation: moveBanner 12s linear infinite;
  font-size: 16px;
}

@keyframes moveBanner {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}