JSFiddle - React, Tailwind, and code Playground

by lonewolfs

HTML

<div id="colorchanger">
    Coming Soon
    <div id="static">
        Coming Soon
    </div>
</div>

CSS

#colorchanger {
    color:#F00;
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size:20px;   
    position:relative;
}
#static{
    font-size:20px;
    color:#000;
    font-family:Georgia, 'Times New Roman', Times, serif;
    position:absolute;
    top:0px;
    left:0px;
    text-decoration:blink !important;
}

JavaScript

/*
setInterval(function() {
      // Do something after 5 seconds
    if($("#colorchanger").css("color") == "rgb(0, 0, 0)"){
        $("#colorchanger").css("color","red");
    } else {
        $("#colorchanger").css("color","black");
    }
}, 300);
*/