Skip to content

Instantly share code, notes, and snippets.

@unrealapex
Last active March 8, 2025 22:09
Show Gist options
  • Select an option

  • Save unrealapex/8e6cdc93cbfba75ce6b23da3945af723 to your computer and use it in GitHub Desktop.

Select an option

Save unrealapex/8e6cdc93cbfba75ce6b23da3945af723 to your computer and use it in GitHub Desktop.
/* The rgb gradient found in sections of the Steam Deck website: https://www.steamdeck.com/en/
https://www.steamdeck.com/public/css/global.css?v=OKFbGyMfa7Jk&_cdn=cloudflare */
.gradient {
background: linear-gradient(137.42deg, #1a75ff, #6a5df8, #c957e6, #d2486b, #bf44ac, #ab47d0, #9460f3, #46aced, #4ec4a3, #b8ba05, #d2486b);
background-size: 2200% 2200%;
-webkit-animation: DeckGradient 60s ease infinite;
-moz-animation: DeckGradient 60s ease infinite;
animation: DeckGradient 60s ease infinite;
}
@-webkit-keyframes DeckGradient {
0%{background-position:0% 50%}
50%{background-position:100% 50%}
100%{background-position:0% 50%}
}
@-moz-keyframes DeckGradient {
0%{background-position:0% 50%}
50%{background-position:100% 50%}
100%{background-position:0% 50%}
}
@keyframes DeckGradient {
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