Last active
April 25, 2019 11:45
-
-
Save EminQasimov/796e5b7a3d99b57fdd5df5c22520fb55 to your computer and use it in GitHub Desktop.
Spectrum background
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
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