<div data-gradient-type="radial-gradient"></div>
<div data-gradient-type="repeating-radial-gradient"></div>
@import url("https://fonts.googleapis.com/css2?family=Exo:wght@600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100vw;
  min-height: 100vh;
  font-family: "Exo", Arial, sans-serif;
  background-color: #222;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 10px;
  padding: 10px 10px 36px;
  font-size: 1.5rem;
}

div {
  min-height: 30vh;
  border-radius: 5px;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
  position: relative;
}

div::after {
  content: attr(data-gradient-type) "()";
  position: absolute;
  left: 5px;
  right: 5px;
  top: calc(100% + 5px);
  text-align: center;
  font-size: 12px;
}

div:nth-of-type(1) {
  background-image: radial-gradient(
    circle at center,
    red,
    red 20px,
    gold 20px,
    gold 40px,
    red 40px,
    red 60px,
    gold 60px,
    gold 80px,
    red 80px,
    red 100px,
    gold 100px,
    gold 120px,
    red 120px,
    red 140px,
    gold 140px,
    gold 160px,
    red 160px,
    red 180px,
    gold 180px,
    gold 200px,
    red 200px,
    red 220px,
    gold 220px,
    gold 240px,
    red 240px,
    red 260px,
    gold 260px,
    gold 280px,
    red 280px,
    red 300px,
    gold 300px,
    gold 320px,
    red 320px,
    red 340px,
    gold 340px,
    gold 360px,
    red 360px,
    red 380px,
    gold 380px,
    gold 400px,
    red 400px,
    red 420px,
    gold 420px,
    gold 440px,
    red 440px,
    red 460px,
    gold 460px,
    gold 480px,
    red 480px,
    red 500px,
    gold 500px,
    gold 520px,
    red 520px,
    red 540px,
    gold 540px,
    gold 560px,
    red 560px,
    red 580px,
    gold 600px,
    gold 620px
  );
}

div:nth-of-type(2) {
  background-image: repeating-radial-gradient(
    circle at center,
    red,
    red 20px,
    gold 20px,
    gold 40px
  );
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.