Back to home prev next
CSS code

I'm not sure why it didn't come to me right away, but this challenge is a great use-case for linear-gradients. I am still trying to understand how to apply multiple gradients to a single element, and I tried to do that by creating my linear gradients, followed by the background-position shorthand, and separated from the next with a comma. I couldn't get this to work for me though. So I used two separate elements, each with their own gradient.

Check out my code