<div class="blobwrap">
<div class="blob blob1"></div>
<div class="blob blob2"></div>
</div>
.blobwrap {
width: 650px;
height: 350px;
border: 5px solid cyan;
display: flex;
margin: 1rem auto;
position: relative;
background: black;
justify-content: space-around;
align-items: center;
}
.blob {
width: 200px;
height: 200px;
border-radius: 100%;
background-color: lime;
background-image: linear-gradient(
to right,
rgba(255, 255, 250, 0.45) -80%,
rgba(200, 200, 200, 1) 100%
);
background-blend-mode: hue;
}
.blob2 {
background-image: linear-gradient(
to left,
rgba(255, 255, 250, 0.45) -80%,
rgba(200, 200, 200, 1) 100%
);
}
.blob {
filter: blur(20px);
}
.blobwrap {
filter: contrast(20);
}
.blob1 {
animation: gooey1 3s linear infinite;
}
@keyframes gooey1 {
50% {
transform: translateX(50%);
}
}
.blob2 {
animation: gooey2 3s linear infinite;
}
@keyframes gooey2 {
50% {
transform: translateX(-50%);
}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.