Difference between revisions of "Template:Northwestern Page Head"

Line 129: Line 129:
 
/*Animates the NavBar left to right */
 
/*Animates the NavBar left to right */
  
#left2right {
+
#lr {
    -webkit-animation-name: left2right;   
+
        animation-name: lr 
    -webkit-animation-duration: 10s;
+
        animation-duration: 10s;
    -webkit-animation-timing-function: linear;
+
          animation-timing-function: linear;
    -webkit-animation-delay: 2s;
+
          animation-delay: 2s;
    -webkit-animation-iteration-count: infinite;
+
          animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
+
        animation-direction: alternate;
 
}  
 
}  
  
@keyframes left2right {
+
@keyframes lr {
  
 
     0%  {left:0px; top:300px;}
 
     0%  {left:0px; top:300px;}
 
     50%  {left:300px; top:300px;}
 
     50%  {left:300px; top:300px;}
     100% {left: 500px; top:30px;}
+
     100% {left: 500px; top:300px;}
 
}
 
}
  

Revision as of 17:26, 19 July 2017

Northwestern Template