Prev Demo
Linear Gradient With Multicolors
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title></title> <style> #grad1 { height: 100px; width:300px; background: -webkit-linear-gradient(blue, red, black, pink, green, orange, magenta); } #grad2 { height: 100px; width:300px; background: -webkit-linear-gradient(pink, green, violet, magenta, lime, cyan); } </style> </head> <body> <p><i>Multicolors</i></p> <div id="grad1"></div> <br/> <div id="grad2"></div> </body> </html>
Note: We DO NOT save your trial code in our database.
Output