<div class="wrap">
  <div class="blobwrap">
    <div class="blob blob1"></div>
    <div class="blob blob2"></div>
  </div>
</div>
.wrap {
  background: linear-gradient(to right, white 0%, black 100%);
  width: 650px;
  height: 350px;
  margin: auto;
}
.blobwrap {
  width: 100%;
  height: 100%;
  border: 5px solid cyan;
  display: flex;
  margin: 1rem auto;
  position: relative;
  background: black;
  justify-content: space-around;
  align-items: center;
  mix-blend-mode: hard-light;
}
.blob {
  width: 240px;
  height: 240px;
  border-radius: 100%;
  background: lightslategray;
}
.blob2 {
}

.blob {
  filter: blur(7px);
}
.blobwrap {
  filter: contrast(7);
}

.blob1 {
  animation: gooey1 3s linear infinite;
}

@keyframes gooey1 {
  50% {
    transform: translateX(50%);
  }
}

.blob2 {
  animation: gooey2 3s linear infinite;
}

@keyframes gooey2 {
  50% {
    transform: translateX(-50%);
  }
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.