SHARE
TWEET

Untitled

a guest Oct 22nd, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. body {
  2.     margin: 0;
  3. }
  4.  
  5. .navbar {
  6.     background-image: linear-gradient(125deg, #337909, #082a87);
  7.     background-size: 120%;
  8.     height: 10%;
  9.     width: 100%;
  10.     position: absolute;
  11.     -webkit-animation: animebg 5s infinite;
  12.             animation: animebg 5s infinite;
  13.     background-size: auto;
  14. }
  15.  
  16. header {
  17.     color: aliceblue;
  18.     font-family: cursive;
  19.     text-align: center;
  20.    
  21. }
  22.  
  23. @-webkit-keyframes animebg {
  24.     0% {
  25.         background-position: 0% 50%;
  26.     }
  27.     50% {
  28.         background-position: 100% 50%;
  29.     }
  30.     100% {
  31.         background-position: 0% 50%;
  32.     }
  33. }
  34.  
  35. @keyframes animebg {
  36.     0% {
  37.         background-position: 0% 50%;
  38.     }
  39.     50% {
  40.         background-position: 100% 50%;
  41.     }
  42.     100% {
  43.         background-position: 0% 50%;
  44.     }
  45. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top