JSFiddle - React, Tailwind, and code Playground

by James Allardice

HTML

<div class="test">1</div>
<div class="test">2</div>
<div class="test">3</div>
<div class="test">4</div>

CSS

.test { width: 50px; height: 50px; background-color: red; margin: 10px }

JavaScript

$$(".test").each(function (s, i) {
    setTimeout(function () {
      new Effect.toggle(s, 'blind', { duration: 0.3 });
    }, i * 350);
});