Animated Text Color Fill in Squarespace (Quick CSS Trick)

Опубликовано: 17 Июль 2026
на канале: Beatriz Caraballo
175
20

Want to create a smooth color fill animation for your text in Squarespace? In this tutorial, I’ll show you how to build it using CSS only.

We’ll start by creating a two-color gradient and setting it up so each color can fully cover your text. Then, you’ll learn how to control that gradient using background-size and background-position to create the animation effect. After that, we’ll clip the gradient into the text using background-clip and remove the default font color so the effect becomes visible.

Finally, we’ll bring everything together using keyframes and the animation property to create a smooth transition from one color to the next!

Let’s get into it.

01 | CHAPTERS
00:00 - Intro
00:21 - Setting Up the Gradient
01:40 - Understanding the Animation Logic
02:56 - Setting the Initial Position
03:23 - Clipping the Gradient Into Text
04:20 - Creating the Animation
05:13 - Applying the Animation to the Heading
06:15 - Testing the Animation

02 | BLOG POST + RESOURCES
Find related tutorials, notes, and any code mentioned in this video:
https://beatrizcaraballo.com/blog/tex...

03 | WORK WITH ME
Need help with a Squarespace client project?
From brainstorming the best approach to hands-on implementation, I help designers navigate tricky builds and move forward with confidence:
https://beatrizcaraballo.com/services

04 | THE SOURCE NOTES
Get weekly customization tips and troubleshooting insights based on real Squarespace project challenges:
https://beatrizcaraballo.com/notes

05 | SUPPORT + INQUIRIES
Have a project challenge you’d like help with?
I prioritize client inquiries, but I also use questions and challenges I receive to inspire future tutorials. Reach out here:
https://beatrizcaraballo.com/contact

06 | NOTE
The code shown in this video is provided as-is and may need adjustments depending on your specific project and Squarespace settings.

07 | KEYWORDS
heading animation squarespace, text animation squarespace, color fill text effect squarespace, squarespace css tutorial, squarespace 7.1, custom css squarespace, squarespace web design, squarespace custom code, squarespace web development, squarespace design tutorial, squarespace site customization, squarespace code implementation, squarespace css tricks