background: -webkit-radial-gradient(red, yellow, green);
background: -o-radial-gradient(red, yellow, green);
background: -moz-radial-gradient(red, yellow, green);
background: radial-gradient(red, yellow, green);
background: -webkit-radial-gradient(circle, red, yellow, green);
background: -o-radial-gradient(circle, red, yellow, green);
background: -moz-radial-gradient(circle, red, yellow, green);
background: radial-gradient(circle, red, yellow, green);
<p><strong>椭圆形 Ellipse(默认):</strong></p>
<p><strong>圆形 Circle:</strong></p>
<p><strong>注意:</strong> Internet Explorer 9 及之前的版本不支持渐变。</p>