Skip to content

Instantly share code, notes, and snippets.

@EminQasimov
Last active April 25, 2019 11:45
Show Gist options
  • Save EminQasimov/796e5b7a3d99b57fdd5df5c22520fb55 to your computer and use it in GitHub Desktop.
Save EminQasimov/796e5b7a3d99b57fdd5df5c22520fb55 to your computer and use it in GitHub Desktop.
Spectrum background
overlay three gradients to make a background with nearly the full spectrum of colors that can be displayed on a monitor.
https://blog.logrocket.com/advanced-effects-with-css-background-blend-modes-4b750198522a
.spectrum-background {
background:
linear-gradient(red, transparent),
linear-gradient(to top left, lime, transparent),
linear-gradient(to top right, blue, transparent);
background-blend-mode: screen;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment