An example of bootstrap alert auto close . Easy to implement and customize. Examples of basic and advanced usage.
Detailed documentation and more examples you can find in our Bootstrap Alert Docs
Basic example - it will close automatically after 2 seconds