Prev Demo
CSS3
>
Gradients
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title></title> <style> #grad { height: 100px; width:300px; background: -webkit-linear-gradient(left, blue, green); } </style> </head> <body> <h3>Linear Gradient from Left to Right</h3> <div id="grad"></div> </body> </html>
Note: We DO NOT save your trial code in our database.
Output