<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Striped ball with Css linear-gradient</title>
</head>
<body>
  <div class="ball"></div>
</body>
</html>
body {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 100vh;
  background-color: #04142F;
}

.ball {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(
    to bottom,
    #013BC2 0% 20%,
    transparent 20% 40%,
    #ffffff 40% 60%,
    transparent 60% 80%,
    #013BC2 80% 100%
  );
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.