User:4erospace/common.css: Difference between revisions

m CSS test
m CSS test
Line 1: Line 1:
/* Core functionality */
.wrapper {
#animated-text-strip{
   max-width: 100%;
   display: flex;
  flex-flow: row nowrap;
  align-items: center;
   overflow: hidden;
   overflow: hidden;
}
}
#animated-text-strip .marquee {
 
.marquee {
   white-space: nowrap;
   white-space: nowrap;
   animation: marquee 5s linear infinite;
  overflow: hidden;
   max-width: none;
  display: inline-block;
   animation: marquee 10s linear infinite;
}
 
.marquee p {
   display: inline-block;
}
}


@keyframes marquee {
@keyframes marquee {
   0% {
   0% {
     transform: translate(0, 0);
     transform: translate3d(0, 0, 0);
   }
   }
   100% {
   100% {
     transform: translate(-100%, 0);
     transform: translate3d(-50%, 0, 0);
   }
   }
}
/* Styles for the sake of the demonstration */
#animated-text-strip{
  background:black;
  padding: 1rem 0;
}
.marquee{
  font-family: 'Open Sans', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: white;
}
}