CSS Linear Gradient

CSS Linear Gradient



What is the right answer?


What code have you tried. We are not just going to give you the answer. You have to show some work or ask questions about what specifically you do not understand. Then, we will attempt to guide you to the correct solution.


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

*/ That's my code that I couldn't pass


You have not given the correct values into the background: property. They did not mention any red or yellow to be added, they have given instruction to add those two hex values they specified.