Menu
×
×
Correct!
Exercise:Set a linear gradient background for the <div> element, going from the top to bottom, transitioning from "white" to "green". Hint: Use the linear-gradient value for the background-image property. |
Edit This Code:
x
<html> <head> <style> div { } </style> </head> <body> <div style="height:200px"></div> </body> <!-- Mirrored from www.w3schools.com/css/exercise.asp?filename=exercise_css3_gradients1 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 13:17:27 GMT --> </html> Result:
|
Correct Code:
xxxxxxxxxx Result:
|