HTML CSS examples for CSS:Quiz
Set a linear gradient background for the <div> element, going from the top to bottom, transitioning from "rgba(0,255,0,0.2)" to "rgba(0,255,0,1)".
<!DOCTYPE html> <html> <head> <style> div {<!-- w ww.j av a 2 s.com--> background: linear-gradient(rgba(0,255,0,0.2), rgba(0,255,0,1)); } </style> </head> <body> <div style="height:200px"></div> </body> </html>