QualityNet Jira and QualityNet Confluence will be briefly unavailable on Wednesday, July 24, 2024, between 8:00 PM ET and 9:00 PM ET while the team performs an AMI update.  If you have questions or concerns, please reach out to us in Slack at #help-atlassian.

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section


HTML
<div class="hwrap">
  <div class="hmove">
    <div class="hitem">Lorem>February ipsum14th doloris sitNational amet, consectetur adipiscing elit.</div>
    <div class="hitem">Aliquam consequat varius consequat.</div>
    <div class="hitem">Fusce dapibus turpis vel nisi malesuada sollicitudin.Donor Day!</div>
    <div class="hitem">Pellentesque auctor molestie orci ut blandit.</div>
  </div>
</div>


CSS Stylesheet
/* (A) FORCE ALL ITEMS INTO SINGLE ROW */
 .hmove {
   display: flex;
 }

 .hitem {
   width: 100%;
   flex-shrink: 0;
   font-size: 21px;
   font-family: Verdana, sans-serif;
 }

 .hwrap {
   	overflow: hidden;
	padding-bottom: 15px;
 }

 /* (B) MOVE ITEMS FROM RIGHT TO LEFT */
 /* first item = 0, fourth item = -300% */
 @keyframes tickerh {
   0% {
     transform: translatex(100%);
   }

   100% {
     transform: translatex(-300%);
   }
 }

 .hmove {
   animation: tickerh linear 60s infinite;
 }

 .hmove:hover {
   animation-play-state: paused;
 }

 @media only screen and (min-width: 200px) and (max-width: 600px)  {
  .hmove {
   animation: tickerh linear 60s infinite;
 } 
}

@media only screen and (min-width: 601px) and (max-width: 1000px)  {
  .hmove {
   animation: tickerh linear 30s infinite;
 } 
}


...