How do I make an element display for some time then fade away and when i refresh my page it doesn't show? : <p>I have a log in in page where by when I i log in it takes me to my homepage which has a <code>&lt;div class="alert alert-success</code>> message.
I want this message to show for like 5 seconds then it fades out.
How do I do that??
Also when i refresh my page I don't want the message to show again unless i log out then log in again. </p>

<p>this is some of the code:
    
        
            &times;
            <strong>success!</strong> Login successfull!
        
This is supposed to show when i have successfully logged in.</p>
