CSS Gradual Linear Gradient

Tell us what’s happening:

i was told to 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.
i have done it though i cannot procced, I don’t know if i have done it the right way

Your code so far


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



Your browser information:

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

Link to the challenge:

Hi @philip41!
It’s because you’re missing a semicolon after your background declaration. Should be:



1 Like

wow, indeed one has to be so keen while writing these things,
Thanks alot bro

happens to me all the time :laughing: