Tell us what’s happening:
Hey guys can someone helpe me?
In priview its right but I can pass by this lesson.
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
.
Thank you!
Your code so far
<style>
div {
border-radius: 20px;
width: 70%;
height: 400px;
margin: 50px auto;
background: linear-gradient( 35deg, #CCFFFF , #FFCCCC);
}
</style>
<div></div>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36
.
Challenge: Create a Gradual CSS Linear Gradient
Link to the challenge: