blob: 38344b381ae28e9bf9cbd4886a3f6b93cce01592 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.box {
display: inline-block;
height: 200px;
width: 250px;
margin: 10px;
border: 1px solid black;
background-repeat: no-repeat;
}
.gradient1 {
background-image: radial-gradient(50% 50% at center, black, white);
}
/* Should have the 3rd white ring touching both edges. */
.gradient2 {
background-image: repeating-radial-gradient(20% 20% at center, black, white, black);
}
</style>
</head>
<body>
<div class="gradient1 box"></div>
<div class="gradient2 box"></div>
</body>
</html>