JSFiddle - React, Tailwind, and code Playground

HTML

<div style="background:#f00;"></div>
<div style="background:#000;"></div>
<div style="background:#ccc;"></div>

CSS

div {
  width:0;
  height:0;
  opacity:0;
  display:block;
  margin:0 auto;
}

JavaScript

$('div').each(function(i, elem){
        setTimeout(function(){
            $(elem).animate({
                    width:200,
                    height:200,
                    opacity:1
            }, 1000);
        }, 1000 * i);
    });