Prev Demo
Gradient With Angles
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title></title> <style> #grad1 { height: 100px; width:300px; background: -webkit-linear-gradient(180deg, orange, grey); } #grad2 { height: 100px; width:300px; background: -webkit-linear-gradient(45deg, magenta, lavenderblush); } </style> </head> <body> <h3>Linear Gradients Using Angles</h3> <div id="grad1" style="color:white;text-align:center;">Lineargradient with angle</div><br> <div id="grad2" style="color:white;text-align:center;">Lineargradient with angle</div><br> </body> </html>
Note: We DO NOT save your trial code in our database.
Output