<!DOCTYPE html>
<html>
<head>
<style>
.box {
display: inline-block;
height: 120px;
width: 200px;
margin: 10px;
border: 1px solid black;
background-repeat: no-repeat;
}
.gradient1 {
background-image: radial-gradient(ellipse closest-corner, white, black);
}
.gradient2 {
background-image: radial-gradient(circle closest-side at 50px 50%, white, black);
}
.gradient3 {
background-image: radial-gradient(ellipse closest-corner at 20px 50px, white, black);
}
.gradient4 {
background-image: radial-gradient(circle closest-corner at 20% 20%, white, black);
}
.gradient5 {
background-image: radial-gradient(circle farthest-corner, red, green, blue);
}
.gradient6 {
background-image: radial-gradient(circle farthest-corner at left, red, green 30%, blue 100%);
}
.gradient7 {
background-image: radial-gradient(ellipse farthest-corner, red, green 80px, blue);
}
.gradient8 {
background-image: radial-gradient(circle farthest-corner, red 20%, green, blue 150%);
}
.gradient9 {
background-image: radial-gradient(circle closest-corner at 20% 20%, red -50%, green, blue 150%);
}
</style>
</head>
<body>
<div class="gradient1 box"></div>
<div class="gradient2 box"></div>
<div class="gradient3 box"></div>
<br>
<div class="gradient4 box"></div>
<div class="gradient5 box"></div>
<div class="gradient6 box"></div>
<br>
<div class="gradient7 box"></div>
<div class="gradient8 box"></div>
<div class="gradient9 box"></div>
</body>
</html>