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,)
}
</style>
<div></div>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/create-a-gradual-css-linear-gradient/
Hi @warfighter,
After the gradient direction i.e., 35deg
, you have to specify the colors given in the exercise
1 Like
yep @Sunithack1 …i did but i am not good at colors can you please help me through specific code!
shumak
4
<style>
div{
border-radius: 20px;
width: 70%;
height: 400px;
margin: 50px auto;
background: linear-gradient(35deg, #ccffff, #ffcccc);
}
</style>
<div></div>
2 Likes
shumak
5
Hope it works for you buddy…
Hi @shumak thnx…but i think it takes three colors in argument
shumak
7
@warfighter i tried the code ,it worked for me
hey @shumak thnxx man…it works actually it takes as many colors as u want as an argument sorry!
2 Likes