&nbsp;<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>A Great Demo on CodePen</title>
</head>
<body>
  
  <div class="circle">&nbsp;</div>
  
</body>
</html>
body {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 100vh;
  background-color: #011032;
}

.circle {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  background-color: #0101D9;
  animation: move 2s ease-in-out infinite;
}

@keyframes move {
  0% {
    transform: translate(-50px, -50px) scale(0);
  }
  25% {
    transform: translate(50px, -50px);
  }
  50%  {
    transform: translate(50px, 50px);
  }
  75% {
    transform: translate(-50px, 50px);
  }
  100% {
    transform: translate(-50px, -50px) scale(0);
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.