repeating-radial-gradient示例
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
div.box{
width: 300px;
height: 300px;
border-radius: 50%;
/* 设置重复的径向渐变 */
background-image: repeating-radial-gradient(red ,yellow 40px);
}
</style>
</head>
<body>
<div class="box"></div>
</body>
</html>