JSFiddle - React, Tailwind, and code Playground

by zidski

HTML

<div class="delay-view" id="delay-view" style="display: none;">
    <div class="message">
        <p class="date">30 September 2011</p>
        
            
            
            <p class="last-login">Last login: 30 September 2011 at 06:13 (EDT)</p>
        
    </div>
</div>

CSS

.delay-view {
    left: 0;
    position: absolute;
    text-align: center;
    top: 40px;
    background:#ccc;
}

JavaScript

// Login delay show and hide date and last login
     $("#delay-view").show().delay(10000).queue(function(n) {
        $(this).fadeOut(); n();
    });