JSFiddle - React, Tailwind, and code Playground

by mblase75

HTML

<div class="row">
   <div class="image">aa</div>
   <div class="image">bb</div>
   <div class="image">cc</div>
</div>

CSS

.active {
    color: red;
}

JavaScript

$(".row .image").each(function(i,el) {
    var $this = $(this);
    setTimeout(function() {
            $this.addClass('active');
        }, i*1000); // milliseconds
});