Skip to content

Instantly share code, notes, and snippets.

@ThisIsNoahEvans
Created April 3, 2021 16:16
Show Gist options
  • Save ThisIsNoahEvans/175e4dca76743d4d85f18810f0858f03 to your computer and use it in GitHub Desktop.
Save ThisIsNoahEvans/175e4dca76743d4d85f18810f0858f03 to your computer and use it in GitHub Desktop.
CSS Gradient
#header {
background: linear-gradient(45deg, #753A88, #CC2B5E, #FF681C);
background-size: 400% 400%;
animation: gradient 15s ease infinite;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment