how to slide text to the right in css

CSS
.slide-right {
   width: 100%;
   overflow: hidden;
   margin-left: 400px;
   max-width: 500px
}

Source

Also in CSS: