JSFiddle - React, Tailwind, and code Playground

by Roman

HTML

<div class="cloud">
  <div class="cloud"></div>
</div>

CSS

HTML, BODY {
  height: 100%;
  }
BODY {
  height: 100%;
  overflow: hidden;
  background: linear-gradient(royalblue 1%,skyblue);
  }
/*
@keyframes cloud {
  0% {
    left: -100%
  }
  100% {
    left: 100%
  }
}
*/

.cloud {
  position: absolute;
  left: 1%;
  top: 5%;
  width: 180px;
  height: 120px;
  margin: 20px;
  margin: 0 5%;
  padding: 45px 40px;
  background: white;
  border-radius: 50%;
  text-align: center;
  }
  .cloud .cloud {
    margin-left: 50px;
  }
  
.cloud:before,
.cloud:after {
  content: "";
  display: block;
  position: absolute;
  background: white;
  border-radius: 100%;
  }
.cloud:before {
  width: 60%;
  height: 70%;
  left: -20%;
  top: 10%;
}
.cloud:after {
  width: 80%;
  height: 70%;
  right: -20%;
  top: 10%;
  }