I want to create two gradients. one with a heigh of 786px and then followed by one with 100% height.
Here is what I've tried:
.gradient {
min-height: 100vh;
background: linear-gradient(#edd9af 0%, #455260 785px) no-repeat border-box, linear-gradient(#c2c2c2 786px, #616161 100%);
}
The bottom one doesn't seem to take effect. Any clues on What I am missing?
Working jsfiddle: https://jsfiddle.net/8yqdfve2/5/
You need to specify background-size: