"animation fullpage view effect"
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 ----------> <script src="//cdnjs.cloudflare.com/ajax/libs/gsap/1.18.2/TweenMax.min.js"></script> <div class="container"> <div class="row"> <div class="parent absolute"> <div class="child absolute"></div> </div> </div> </div>
.absolute { position: absolute; } .fixed { position: fixed; } .parent { width: 100%; height: 100%; background:red; } .child { width: 50%; height: 50%; background:blue; top: 25%; left: 25%; }
document.querySelector('.child').addEventListener('click', animate); function animate() { TweenMax.to('.child', 3, { top: 0, left: 0, width: '100%', height: '100%', className:"+=fixed", ease:Linear.easeNone }); }

Related: See More


Questions / Comments: