Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Full Page Gradient Background
html {
background: #red; /* fallback color */
background: linear-gradient( to bottom, #red, #blue);
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment