Difference between revisions of "Team:NTNU Trondheim/Style"

Line 266: Line 266:
 
     color: #5F7C87;
 
     color: #5F7C87;
 
}
 
}
 +
 +
.floating { 
 +
    animation-name: floating;
 +
    animation-duration: 2s;
 +
    animation-iteration-count: infinite;
 +
    animation-timing-function: ease-in-out;
 +
    margin-left: 30px;
 +
    margin-top: 5px;
 +
}
 +
 +
@keyframes floating {
 +
    from { transform: translate(0,  0px); }
 +
    65%  { transform: translate(0, 15px); }
 +
    to  { transform: translate(0, -0px); }   
 +
}
 +
 +
 +
 +
 +
  
 
/****** WRITE ALL NON-MEDIA CODE ABOVE THIS LINE *****/
 
/****** WRITE ALL NON-MEDIA CODE ABOVE THIS LINE *****/

Revision as of 11:15, 6 August 2018