JSFiddle - React, Tailwind, and code Playground

HTML

<div id="viewport">
  <img
    src="http://www.glassteacups.net/images/glass_cup_and_saucer.jpg"

    alt=""
    class="carousel-image"
  />
</div>

CSS

#viewport {
  position: relative;
  width: 1000px;
  height: 600px;
  margin: 0px auto;
  border: 1px solid #333333;
  overflow: hidden;

}

#viewport .smoke {
  position: absolute;
  width: 215px;
  height: 100px;
  bottom: 230px;
  left: 120px;
}

.smoke1 {
background-image: -moz-radial-gradient(50% 50%, ellipse closest-side, rgba(0,0,0,0.21), rgba(0,0,0,0) 100%);
background-image: -webkit-radial-gradient(50% 50%, ellipse closest-side, rgba(0,0,0,0.21), rgba(0,0,0,0) 100%);
background-image: -o-radial-gradient(50% 50%, ellipse closest-sider, rgba(0,0,0,0.21), rgba(0,0,0,0) 100%);
background-image: -ms-radial-gradient(50% 50%, ellipse closest-side, rgba(0,0,0,0.21), rgba(0,0,0,0) 100%);
background-image: radial-gradient(50% 50%, ellipse closest-side, rgba(0,0,0,0.21), rgba(0,0,0,0) 100%)
}

.smoke2 {
background-image: -moz-radial-gradient(50% 50%, ellipse closest-side, rgba(0,0,0,0.1), rgba(0,0,0,0) 100%);
background-image: -webkit-radial-gradient(50% 50%, ellipse closest-side, rgba(0,0,0,0.1), rgba(0,0,0,0) 100%);
background-image: -o-radial-gradient(50% 50%, ellipse closest-sider, rgba(0,0,0,0.1), rgba(0,0,0,0) 100%);
background-image: -ms-radial-gradient(50% 50%, ellipse closest-side, rgba(0,0,0,0.1), rgba(0,0,0,0) 100%);
background-image: radial-gradient(50% 50%, ellipse closest-side, rgba(0,0,0,0.1), rgba(0,0,0,0) 100%)
}

.smoke3 {
background-image: -moz-radial-gradient(50% 50%, ellipse closest-side, rgba(0,0,0,0.2), rgba(0,0,0,0) 100%);
background-image: -webkit-radial-gradient(50% 50%, ellipse closest-side, rgba(0,0,0,0.2), rgba(0,0,0,0) 100%);
background-image: -o-radial-gradient(50% 50%, ellipse closest-sider, rgba(0,0,0,0.2), rgba(0,0,0,0) 100%);
background-image: -ms-radial-gradient(50% 50%, ellipse closest-side, rgba(0,0,0,0.2), rgba(0,0,0,0) 100%);
background-image: radial-gradient(50% 50%, ellipse closest-side, rgba(0,0,0,0.2), rgba(0,0,0,0) 100%)
}
.carousel-image{
position:absolute;
    top:140px;
    left:9px;
}

JavaScript

(function () {
  "use strict";

  var i = 0;
  for (; i < 3; i += 1) {
    setTimeout((function (idx) {
      return function addSmoke () {
        var
          time = 7500,
          smoke = $('<div />', {
            class: 'smoke smoke' + (idx + 1),
            css: {
              opacity: 0
            }
          });
        
        // add to viewport
        $(smoke).appendTo('#viewport');

        // animate
        $.when(
          // animate to 100% opacity in half the time (fade in)
          $(smoke).animate({
            opacity: 1
          }, {
            duration: time * 0.2,
            easing: 'linear',
            queue: false,
            
            // animate to 0% opacity in the remaining time (fade out)
            complete: function () {
              $(smoke).animate({
                opacity: 0
              }, {
                duration: time * 0.8,
                easing: 'linear',
                queue: false
              });
            }
          }),

          // animate movement
          $(smoke).animate({
            bottom: $('#viewport').height()
          }, {
            duration: time,
            easing: 'linear',
            queue: false
          })

        // when all down, remove and add new random smoke
        ).then(function () {
          $(smoke).remove();
          addSmoke();
        });
      };
    }(i % 3)), i * 2500);
  }
}());