Create a Gradual CSS Linear Gradient issue

whats the problem with the below code?


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



The div element should have a linear-gradient background with the specified direction and colors.


change its format to this:

background: linear-gradient(35deg, #CCFFFF, #FFCCCC);

I think the error is due to fcc requiring a particular format…not sure though

Note: This is for the benefit of those who newly-joined
the comma should immediately come after the specified color, then space. Please see below.
background: linear-gradient(35deg, #CCFFFF, #FFCCCC);
The one you have made was (35deg ,#CCFFFF ,#FFCCCC);