Menu
×
×
Correct!
Exercise:Set a linear gradient background for the <div> element, going from the top to bottom, transitioning from "white" to "green".
<style>
div {
@(16): @(15)(white, green);
}
</style>
<body>
<div style="height:200px"></div>
</body>
<style>
div {
background-image: linear-gradient(white, green);
}
</style>
<body>
<div style="height:200px"></div>
</body>
<style>
div {
background: linear-gradient(white, green);
}
</style>
<body>
<div style="height:200px"></div>
</body>
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 138 exercises.
Are you sure you want to continue?