Created
April 3, 2021 16:16
-
-
Save ThisIsNoahEvans/175e4dca76743d4d85f18810f0858f03 to your computer and use it in GitHub Desktop.
CSS Gradient
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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