<div class="scroll-up">
<p class="odd">You don't have access to this site. Verify this site or ask a site owner to add you as a user.&nbsp;</p>
  <!--<p class="even">&nbsp;</p>
  <p class="odd">Scroll up... 3</p>
  <p class="even">&nbsp;</p>
  <p class="odd">Scroll up... 5</p>
  <p class="even">&nbsp;</p>
  <p class="odd">Scroll up... 7</p>
  <p class="even">&nbsp;</p>
  <p class="odd">Scroll up... 9</p>
  <p class="even">&nbsp;</p>
  <p class="even">This information will be used to contact you about your service.&nbsp;</p>-->
  
</div>

.scroll-up {
 height: 250px;	
  width: 300px;
 overflow: hidden;
 position: relative;
 background: yellow;
 color: orange;
 border: 3px solid black;
  margin: 0 auto;

}
/*trying to get each p element to scroll one after another????????*/
/*.scroll-up p:nth-child(even){line-height: 200px;}*/
.scroll-up p {
 position: absolute;
 width: 100%;
 height: 100%;
 margin: 0;
 /*line-height: 50px;*/
 text-align: center;
  color: black;
  font-weight: bolder;
 /* Starting position */
 -moz-transform:translateY(100%);
 -webkit-transform:translateY(100%);	
 transform:translateY(100%);
 /* Apply animation to this element */	
 -moz-animation: scroll-up 5s linear infinite;
 -webkit-animation: scroll-up 5s linear infinite;
 animation: scroll-up 5s linear infinite;
}
.scroll-up p.even {
 position: absolute;
 width: 100%;
 height: 100%;
 margin: 0;
 /*line-height: 50px;*/
 text-align: center;
  color: black;
  font-weight: bolder;
 /* Starting position */
 -moz-transform:translateY(100%);
 -webkit-transform:translateY(100%);	
 transform:translateY(100%);
 /* Apply animation to this element */	
 -moz-animation: scroll-up 7s linear infinite;
 -webkit-animation: scroll-up 7s linear infinite;
 animation: scroll-up 7s linear infinite;
}

/* Move it (define the animation) */
@-moz-keyframes scroll-up {
 0%   { -moz-transform: translateY(100%); }
  50% { -moz-transform: translateY(40%);}
 /* 60% { -moz-transform: translateY(40%);}
  90% { -moz-transform: translateY(40%);}*/
 100% { -moz-transform: translateY(-100%); }
}
@-webkit-keyframes scroll-up {
 0%   { -webkit-transform: translateY(100%); }
   30%   { -webkit-transform: translateY(35%); }
  40% { -webkit-transform: translateY(40%); }
   70%   { -webkit-transform: translateY(40%); }
 /*  90%   { -webkit-transform: translateY(40%); }*/
  /*80% { -webkit-transform: translateY(100%);}*/
 100% { -webkit-transform: translateY(-100%); }
}
@keyframes scroll-up {
 0%   { 
 -moz-transform: translateY(100%); /* Browser bug fix */
 -webkit-transform: translateY(100%); /* Browser bug fix */
 transform: translateY(100%); 		
 }
 100% { 
 -moz-transform: translateY(-100%); /* Browser bug fix */
 -webkit-transform: translateY(-100%); /* Browser bug fix */
 transform: translateY(-100%); 
 }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. //cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js