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