Create a Gradual CSS Linear Gradient.,

Create a Gradual CSS Linear Gradient.,
0

#1

Tell us what’s happening:
Help please, Use a linear-gradient() for the div element’s background , and set it from a direction of 35 degrees to change the color from #CCFFFF to #FFCCCC .

Your code so far


<style>

  div{ 
    border-radius: 20px;
    width: 70%;
    height: 400px;
    margin: 50px auto;
    background:linear-gradient(35deg, #CCFFFF);
  }

</style>

<div></div>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/create-a-gradual-css-linear-gradient/


#2

You’re only giving it one color to work with. A gradient needs two. try background:linear-gradient(35deg, #CCFFFF, #FFCCCC);


#3

Ohh alright thank you