Line 127: | Line 127: | ||
/******* w3 Syle editing *******/ | /******* w3 Syle editing *******/ | ||
+ | /*Animates the NavBar left to right */ | ||
+ | |||
+ | #left2right { | ||
+ | -webkit-animation-name: l2r; | ||
+ | -webkit-animation-duration: 10s; | ||
+ | -webkit-animation-timing-function: linear; | ||
+ | -webkit-animation-delay: 2s; | ||
+ | -webkit-animation-iteration-count: infinite; | ||
+ | -webkit-animation-direction: alternate; | ||
+ | } | ||
+ | |||
+ | @-webkit-keyframes l2r { | ||
+ | |||
+ | 0% {left:0%; top:30%;} | ||
+ | 50% {left:23%; top:30%;} | ||
+ | 100% {left:46%; top:30%;} | ||
+ | } | ||
/*Controls the speed of animation */ | /*Controls the speed of animation */ |
Revision as of 17:12, 19 July 2017