<marquee class="css" behavior="scroll" direction="down"> This text scrolls from top to bottom. </marquee>

.css {
  position:relative;
  top:20px;
  left:100px;
  height:100px;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.