Menu
×
×
Correct!
Exercise:Set a linear gradient background for the <div> element, going at a 70 degree angle.
<style>
div {
background-image: linear-gradient(@(5), white, green);
}
</style>
<body>
<div style="height:200px"></div>
</body>
<style>
div {
background-image: linear-gradient(70deg, white, green);
}
</style>
<body>
<div style="height:200px"></div>
</body>
Not CorrectClick here to try again. Correct!Next ❯<style> div { background-image: linear-gradient(w3exercise_input_no_0, white, green); } </style> <body> <div style="height:200px"></div> </body> |
Completed 0 of 138 Exercises:
This will reset the score of ALL 138 exercises.
Are you sure you want to continue?