---
title: "An animated radial gradient mask over text in CSS"
url: https://daily.dev/posts/an-animated-radial-gradient-mask-over-text-in-css-ob8mcbski
source_url: https://cassidoo.co/post/radial-mask-text-css
type: article
source: "Cassidy's blog"
author: "Cassidy Williams"
published: 2026-06-29T07:04:35.584Z
updated: 2026-07-01T09:52:45.670Z
tags: ["css"]
reading_time: 5
upvotes: 79
comments: 11
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# An animated radial gradient mask over text in CSS

**[Cassidy's blog](https://daily.dev/sources/cassidoo)** · [@cassidoo](https://daily.dev/cassidoo) · 5 min read · 79 upvotes · 11 comments

## Summary

A walkthrough of creating an animated radial gradient mask effect over text using CSS. Covers the CSS `mask` property with `repeating-radial-gradient`, how to center the gradient origin around a specific letter, using `@property` (CSS Houdini) to make custom properties animatable, and browser compatibility quirks in Firefox and Safari. Includes tips on tweaking stripe thickness and spacing via a CSS custom property.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://cassidoo.co/post/radial-mask-text-css>

## Community discussion

Top comments from developers on daily.dev.

**@bestcodes** · 3 upvotes

> Love this, I'm gonna use it

**@noricode** · 2 upvotes

> I dont see the animation 😔

**@3mdistal** · 1 upvotes

> Really fun!

**@starfallcodes** · 1 upvotes

> this could use in my cv

**@harshdhiman11** · 1 upvotes

> I tried replicating the design and I was able to create the good design

## Similar posts on daily.dev

- [Animating CSS border-image](https://daily.dev/posts/animating-css-border-image-qbnttdhkn) · CSS-Tricks · 159 upvotes · 3 comments

---

Tags: [#css](https://daily.dev/tags/css)

[View this post on daily.dev](https://daily.dev/posts/an-animated-radial-gradient-mask-over-text-in-css-ob8mcbski)
