CSS3 Set the shape of radial gradients Examples
CSS3 Set the shape of radial gradients Examples
<!DOCTYPE html>
<html>
<head>
<title>CSS3 Set the shape of radial gradients Examples</title>
<style type="text/css">
.gradient {
width: 400px;
height: 300px;
background: red;
background: -webkit-radial-gradient(circle, red, yellow, lime);
background: -ms-radial-gradient(circle, red, yellow, lime);
background: radial-gradient(circle, red, yellow, lime);
}
</style>
</head>
<body>
<div class="gradient"></div>
</body>
</html>
Output