"banner 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 ----------> <div class="container"> <div class="row"> <div class="img-anim"> <img class="imgzoom" src="https://placeimg.com/640/480/any"> </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.1/TweenMax.min.js"></script> <script> TweenMax.fromTo ( '.imgzoom', 1, { opacity: 0, scale: 1.2, rotate: "2deg", css: {transform: "rotate(2deg) scale(1.2)",transition: "cubic-bezier(.17,.17,.3,1)"} // css:{transform: "scale(1.2)",transform: "cubic-bezier(.4,0,.3,1)",transition:"cubic-bezier(.17,.17,.3,1)", rotate: "(2deg)", opacity: 0, transform-origin: "bottom";} }, { opacity: 1, rotate: "0deg", scale: 1, css: {transform: "rotate(0deg) scale(1)",transition: "cubic-bezier(.17,.17,.3,1)",transformOrigin: "bottom"} // css:{transform:"translate(0, 0)"} }); </script>
.img-anim { margin-top:40px; width: 100%; height: auto; }
// css: {transform: "rotate(2deg) scale(1.2)", transition-property: "all",transition-timing-function: "cubic-bezier(0.4, 0, 0.3, 1)",transition-duration: "1.2s"}

Related: See More


Questions / Comments: