"list animation"
Bootstrap 4.1.1 Snippet by ALIMUL AL RAZY

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <h1 id="header">Animation with TweenMax</h1> <div id="content"> <ul> <li>repeat</li> <li>repeatDelay</li> <li>stagerFrom</li> <li>onRepeat</li> </ul> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js"></script> <script> //just a basic example of some TweenMax features TweenMax.from("#header", .2, {opacity:0, repeat:2, yoyo:true}) /* staggerFrom() docs: https://api.greensock.com/js/com/greensock/TweenMax.html#staggerFrom() */ //targets, duration, vars, stagger TweenMax.staggerFrom("li", .5, {top:100, opacity:0, delay:1, ease:Back.easeOut}, 0.1); </script>
body{ background:url(https://www.greensock.com/_img/codepen/bg_black_w_stripe.png) repeat-x #000; margin:0px; font-family:Arial, Helvetica, sans-serif; } h1{ line-height:40px; font-size:30px; color:white; padding:0px; margin:0px 0px 0px 10px; font-weight:normal; } #content{ position:relative; height:186px; padding:10px; margin:6px; background-color:rgba(0, 0, 0, 0.5); color:#fff; } ul{ margin:0px; padding:0px; } li{ position:relative; list-style:none; margin:8px; }

Related: See More


Questions / Comments: