JSFiddle - React, Tailwind, and code Playground

by Corey Frang

HTML

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

CSS

div.x{ 
    width: 100px;
    height: 100px; 
    background-color: #000; 
    float: left;
    margin-left: 50px; 
    color: #fff }

JavaScript

setInterval(function() {

    $('.x').show('highlight', {}, 1000);

}, 3000);