#maindiv {
    border: 2px solid black;
    overflow: hidden;
    white-space: nowrap;
}

#div1 {
    display: inline-block;
    animation: marquee 10s linear infinite;
}

#div2 {
    display: inline-block;
    animation: marquee2 10s linear infinite;
    animation-delay: 8s;
}

@keyframes marquee {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes marquee2 {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-200%);
    }
}




.smartmarquee {
  position: relative;
  overflow: hidden;
  z-index: 999;
}

.smartmarquee .container { position: absolute; }

a { cursor: pointer }

a { cursor: pointer }

.example {
  height: 350px;
  width: 100%;
  
}

.example .container {
  margin: 0;
  padding: 0 ;
}

.example .container li {
  width: 100%;
  margin: 0 0 0 5px;
  padding: 5px 0 5px 0;
  border-bottom: 1px dotted #999;
  font-family: inherit;
  font-size: 11pt;
}