"Text Reveal 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="text"> <h1><span class="hidden-text">WELCOME TO MY COOL</span></h1> <h1><span class="hidden-text">TUTORIAL FOR</span></h1> <h1><span class="hidden-text">GSAP TEXT ANIMATION</span></h1> </div> <div style="height: 100vh"></div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.6.0/gsap.min.js"></script> <script> let tl = new TimelineMax({}); tl.staggerFrom( ".hidden-text", 1.5, { y: "100%", ease: "power4.easeOut" }, 0.15 ); </script>
* { margin: 0; padding: 0; } body { width: 100%; height: 100%; font-weight: bold; } .container { background: #eff3f6; height: 100vh; } h1 { font-size: 4rem; position: relative; overflow: hidden; height: 4rem; margin: 0; } .text { padding: 100px; } .hidden-text { position: absolute; z-index: 200; }

Related: See More


Questions / Comments: