(This page includes affiliate links. If you click and purchase, I receive a small commission at no extra cost from you and that way you can support me. I only recommend tools that I have personally used and loved.)
Get Elementor Pro Today –
1 – Elementor Pro
Don’t want to make from scratch? Get the template instead 🙂
Introduction – Amazing Text Reveals made with Elementor and GSAP for your website
In this tutorial, we are learning to make animated text reveals for a good user experience. We have 10 text reveals, but once you watch the above video, you will learn to customize it which makes it more than 10 text reveal animations. You can simply add scrub:true or scrub:false to make the animation scroll-movement based. (Please refer video for detailed understanding)
IMPORTANT NOTE: Make sure to use single-heading code and CSS class to only single headings. And make sure to use heading/paragraph CSS class and code to only Heading and paragraph combos. If you accidently add extra heading class or paragraph class for the heading/paragraph combo, then you might break the code. So make sure, there is always a paragraph class for each heading class for the combo.
Pre-requisite – Initialize GSAP, GSAP scrollTrigger, SplitType
I am a Single Heading That Reveals From The Bottom
I am Heading That Reveals From The Bottom
I am a paragraph that only starts revealing when full heading above has been revealed. Heading and I can be revealed line by line, word by word or char by char.
#1 – Fade in Y Animated GSAP Text Reveal
- dm-single-heading-1 – add this CSS class to the single headings you want to animate
- h2 is the HTML tag, make sure to change it to appropriate one
- types: ‘words’ – we are splitting the text into words
- types: ‘lines’ – we are splitting the text into lines
- For heading and paragraph combo, dm-heading1 is the CSS class for the heading and dm-paragraph1 is the CSS class for the paragraph.
I am a Single Heading That Reveals From The Left
I am Heading That Reveals From The Left
I am a paragraph that only starts revealing when full heading above has been revealed. Heading and I can be revealed line by line, word by word or char by char.
#2 – Fade in X Animated GSAP Text Reveal
- dm-single-heading-2 – add this CSS class to the single headings you want to animate
- h2 is the HTML tag, make sure to change it to appropriate one
- types: ‘words’ – we are splitting the text into words
- types: ‘lines’ – we are splitting the text into lines
- For heading and paragraph combo, dm-heading2 is the CSS class for the heading and dm-paragraph2 is the CSS class for the paragraph.
I am a Single Heading That Reveals by Clipping from Bottom
I am Heading That Reveals by Clipping from Bottom
I am a paragraph that only starts revealing when full heading above has been revealed. Heading and I can be revealed line by line, word by word or char by char.
#3 – Clipping from Bottom – Animated GSAP Text Reveal
- dm-single-heading-3 – add this CSS class to the single headings you want to animate
- h2 is the HTML tag, make sure to change it to appropriate one
- types: ‘words’ – we are splitting the text into words
- types: ‘lines’ – we are splitting the text into lines
- For heading and paragraph combo, dm-heading3 is the CSS class for the heading and dm-paragraph3 is the CSS class for the paragraph.
- You can change clip-path values to change the direction of reveal
I am a Single Heading That Reveals by Clipping from Bottom
I am Heading That Reveals by Clipping from Bottom
I am a paragraph that only starts revealing when full heading above has been revealed. Heading and I can be revealed line by line, word by word or char by char.
#4 – Text reveals from bottom with clipping – Animated GSAP Text Reveal
- dm-single-heading-4 – add this CSS class to the single headings you want to animate
- h2 is the HTML tag, make sure to change it to appropriate one
- types: ‘words’ – we are splitting the text into words
- types: ‘lines’ – we are splitting the text into lines
- For heading and paragraph combo, dm-heading4 is the CSS class for the heading and dm-paragraph4 is the CSS class for the paragraph
- You can change clip-path values to change the direction of reveal
I am a Single Heading That Reveals by Color from Left
I am Heading That Reveals by Color from Left
I am a paragraph that only starts revealing when full heading above has been revealed. Heading and I can be revealed line by line, word by word or char by char.
#5 – Text reveals by Clipping Color from left – Animated GSAP Text Reveal
- dm-single-heading-5 – add this CSS class to the single headings you want to animate
- h2 is the HTML tag, make sure to change it to appropriate one
- types: ‘words’ – we are splitting the text into words
- types: ‘lines’ – we are splitting the text into lines
- For heading and paragraph combo, dm-heading5 is the CSS class for the heading and dm-paragraph5 is the CSS class for the paragraph
- You can change clip-path inset values to change the direction of reveal
- Change background value to your desired color.
- Change “1s” in both line 14 and line 31 to same values and your desired values. This controls the duration of reveal. For Heading/Paragraph Combo, make sure to change for all 3 values.
- Simply change delay to your desired value. 0.1 = 100ms difference between each reveal.
I am a Single Heading That Reveals by Color from Bottom
I am Heading That Reveals by Color from Bottom
I am a paragraph that only starts revealing when full heading above has been revealed. Heading and I can be revealed line by line, word by word or char by char.
#6 – Text reveals by Clipping Color from Bottom – Animated GSAP Text Reveal
- dm-single-heading-6 – add this CSS class to the single headings you want to animate
- h2 is the HTML tag, make sure to change it to appropriate one
- types: ‘words’ – we are splitting the text into words
- types: ‘lines’ – we are splitting the text into lines
- For heading and paragraph combo, dm-heading6 is the CSS class for the heading and dm-paragraph6 is the CSS class for the paragraph
- You can change clip-path inset values to change the direction of reveal
- Change background value to your desired color.
- Change “1s” in both line 15 and line 31 to same values and your desired values. This controls the duration of reveal. For Heading/Paragraph, make sure to change for all 3 values.
- Simply change delay to your desired value. 0.1 = 100ms difference between each reveal.
I am a Single Heading That Reveals by rotating on X from left
I am Heading That Reveals rotating on X from left
I am a paragraph that only starts revealing when full heading above has been revealed. Heading and I can be revealed line by line, word by word or char by char.
#7 – Slanted Text Reveal – Animated GSAP Text Reveal
- dm-single-heading-7 – add this CSS class to the single headings you want to animate
- h2 is the HTML tag, make sure to change it to appropriate one
- types: ‘words’ – we are splitting the text into words
- types: ‘lines’ – we are splitting the text into lines
- For heading and paragraph combo, dm-heading7 is the CSS class for the heading and dm-paragraph7 is the CSS class for the paragraph
I am a Single Heading That Increase opacity as you scroll
I am a Heading That Increase opacity as you scroll
I am a paragraph that only starts revealing when full heading above has been revealed. Heading and I can be revealed line by line, word by word or char by char.
#8 – Opacity Reveal – Animated GSAP Text Reveal
- dm-single-heading-8 – add this CSS class to the single headings you want to animate
- h2 is the HTML tag, make sure to change it to appropriate one
- types: ‘words’ – we are splitting the text into words
- types: ‘lines’ – we are splitting the text into lines
- For heading and paragraph combo, dm-heading8 is the CSS class for the heading and dm-paragraph8 is the CSS class for the paragraph
- opacity 0.1 is the default opacity value.
- opacity: 1 is the final opacity value.
- You can also add extra CSS properties to animate.
- SCRUB is set to true, so the animation is based on amount of scroll. Make it false to run it automatically without scroll based movement.
I am a Single Heading That changes color as you scroll
I am a Heading That changes color as you scroll
I am a paragraph that only starts revealing when full heading above has been revealed. Heading and I can be revealed line by line, word by word or char by char.
#9 – Color Reveal – Animated GSAP Text Reveal
- dm-single-heading-9 – add this CSS class to the single headings you want to animate
- h2 is the HTML tag, make sure to change it to appropriate one
- types: ‘words’ – we are splitting the text into words
- types: ‘lines’ – we are splitting the text into lines
- For heading and paragraph combo, dm-heading9 is the CSS class for the heading and dm-paragraph9 is the CSS class for the paragraph
- color:blue is the default color.
- color:’red’ is the final color.
- You can also add extra CSS properties to animate.
- SCRUB is set to true, so the animation is based on amount of scroll. Make it false to run it automatically without scroll based movement.
I am a Single Heading That reveals by scramble words
I am a Heading That Reveals by Scramble words
I am a paragraph that only starts revealing when full heading above has been revealed. Heading and I can be revealed line by line, word by word or char by char.
#10 – Scramble Text Reveal – Animated GSAP Text Reveal with baffle JS library
- dm-single-heading-10 – add this CSS class to the single headings you want to animate
- h2 is the HTML tag, make sure to change it to appropriate one
- types: ‘words’ – we are splitting the text into words
- types: ‘lines’ – we are splitting the text into lines
- For heading and paragraph combo, dm-heading10 is the CSS class for the heading and dm-paragraph10 is the CSS class for the paragraph.
- Change characters to your desired letters/characters that need to be shown randomized before revealing your final text.
- speed:50, change 50 to your desired value for the speed of scramble characters.
- change duration value from 0.1 to your desired value to change the amount of time it requires to go from scramble text to final text.