Tell us what’s happening:
Help please, 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
.
Your code so far
<style>
div{
border-radius: 20px;
width: 70%;
height: 400px;
margin: 50px auto;
background:linear-gradient(35deg, #CCFFFF);
}
</style>
<div></div>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/create-a-gradual-css-linear-gradient/