<div data-gradient="linear-gradient"></div>
<div data-gradient="repeating-linear-gradient"></div>
<div data-gradient="radial-gradient"></div>
<div data-gradient="repeating-radial-gradient"></div>
<div data-gradient="conic-gradient"></div>
<div data-gradient="repeating-conic-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;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 10px;
  gap: 10px;
  place-content: center;
  font-family: "Exo", Arial, sans-serif;
}

div {
  width: 100%;
  height: 50vh;
  border-radius: 5px;
  position: relative;
}

div:nth-child(1) {
  background-image: linear-gradient(#ff8a00, #e52e71);
}

div:nth-child(2) {
  background-image: repeating-linear-gradient(
    to right,
    #ff8a00 10%,
    #e52e71 20%
  );
}

div:nth-child(3) {
  background-image: radial-gradient(#ff8a00, #e52e71);
}

div:nth-child(4) {
  background-image: repeating-radial-gradient(circle, #ff8a00 10%, #e52e71 20%);
}

div:nth-child(5) {
  background-image: conic-gradient(#ff8a00, #e52e71);
}

div:nth-child(6) {
  background-image: repeating-conic-gradient(#ff8a00 10%, #e52e71 20%);
}

div::after {
  content: attr(data-gradient) "()";
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translate(-50%, 0);
  white-space: nowrap;
  font-size: 12px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.