"bounce alert"
Bootstrap 3.1.0 Snippet by escapedlion

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link href="//cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.0/animate.min.css" rel="stylesheet" /> <!doctype html> <html> <head> <title>Bounce Effect with CSS3</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/style.css"> </head> <body> <div class="alert alert-warning alert-dismissable css3-notification "> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <strong>Warning!</strong> Better check yourself, you're not looking too good. </div> </body> </html>
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700); body { font-family: 'Open Sans', 'sans-serif'; } .css3-notification { font-size: .8em; text-align: center; padding: 10px; text-transform: uppercase; position: relative; font-weight: bold; -webkit-animation: bounce 800ms ease-out; -moz-animation: bounce 800ms ease-out; -o-animation: bounce 800ms ease-out; animation: bounce 800ms ease-out; }
$(document).ready(function() { function animate(element_ID, animation) { $(element_ID).addClass(animation); var wait = window.setTimeout( function(){ $(element_ID).removeClass(animation)}, 1300 ); } });

Related: See More


Questions / Comments: