HTML CSS examples for CSS:Color
Radial Gradients
<html> <head> <style> #grad1 {<!--from w w w . j av a2 s . com--> height: 100px; width: 550px; background: -webkit-radial-gradient(red 5%, green 15%, pink 60%); background: -o-radial-gradient(red 5%, green 15%, pink 60%); background: -moz-radial-gradient(red 5%, green 15%, pink 60%); background: radial-gradient(red 5%, green 15%, pink 60%); } </style> </head> <body> <div id="grad1"></div> </body> </html>