What is Wrong with this code

Tell us what’s happening:

Your code so far


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

</style>

<div></div>
This line is not working I have tried with background image

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36.

Challenge: Create a Gradual CSS Linear Gradient

Link to the challenge:

1 Like

CSS property functions are like linear-gradient( not linear-gradient (