.commodity-ticker-wrapper {
  width: 100%;
  overflow: hidden;
  background: #f2f2f2;
  border: 1px solid #ccc;
  padding: 10px 0;
  box-sizing: border-box;
}

.commodity-ticker {
  display: inline-block;
  white-space: nowrap;
  animation: scrollLeft 20s linear infinite;
}

.commodity-item {
  display: inline-block;
  margin-right: 40px;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.price-up {
  color: green;
}

.price-down {
  color: red;
}

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