Last active
April 1, 2020 12:20
-
-
Save vanaf1979/f9f00ee22cac7e8f576d3fb224feefaf to your computer and use it in GitHub Desktop.
Snippet #011 Custom Gutenberg gradient colors. https://since1979.dev/snippet-011-custom-gutenberg-gradient-colors/
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
// Light blue to white | |
.has-light-blue-to-white-gradient-background { | |
background: linear-gradient(180deg, rgba(0,101,155,0.5) 0%, rgba(255,255,255,1) 100%); | |
} | |
// Blue to white | |
.has-blue-to-white-gradient-background { | |
background: linear-gradient(180deg, rgba(0,101,155,1) 0%, rgba(255,255,255,1) 100%); | |
} | |
// Dark blue to white | |
.has-dark-blue-to-white-gradient-background { | |
background: linear-gradient(180deg, rgba(0,101,155,1) 0%, rgba(255,255,255,1) 100%); | |
} | |
// Blue to dark blue | |
.has-blue-to-dark-blue-gradient-background { | |
background: linear-gradient(180deg, rgba(0,101,155,1) 0%, rgba(29,39,53,1) 100%); | |
} | |
// Light blue to black | |
.has-light-blue-to-black-gradient-background { | |
background: linear-gradient(180deg, rgba(0,101,155,0.5) 0%, rgba(0,0,0,1) 100%); | |
} | |
// Blue to black | |
.has-blue-to-black-gradient-background { | |
background: linear-gradient(180deg,rgba(0,101,155,1) 0%,rgba(0,0,0,1) 100%); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment