Design3 min read
How to Create a Hover-Reveal Blurred Text Effect in Webflow
Learn how to create a blurred text effect in Webflow that reveals itself on hover for spoilers and hidden content.
In this tutorial, Sandro, cofounder of Gemeos Webflow agency, shows you how to create a blurred text reveal effect in Webflow, perfect for spoilers, hidden answers, or premium content.
Example
Hover to reveal — click to keep it visible
Hidden answer
Gemeos' revenue in 2024 was €1.2M 🎉
👆 Hover to revealSpoiler
The main character was the killer from the start.
👆 Hover to revealPremium content
The full strategy is available in our Notion guide reserved for Gemeos clients.
👆 Hover to reveal| Attribute | Element | Behavior |
|---|---|---|
| data-blur-reveal | Text or div to blur | Blur on load, revealed on hover or click |
| revealed (class) | Added on click | Permanent reveal until reload |
1. Add the attribute to your elements
On any text or Div you want to blur in Webflow, add the custom attribute data-blur-reveal with the value true. The script automatically applies the blur filter and the hint "Hover to reveal".
2. Add the script in Footer code
(function() {
var style = document.createElement('style');
style.textContent =
'.blur-reveal { filter: blur(5px); transition: filter 0.4s ease; cursor: pointer; user-select: none; }' +
'.blur-reveal:hover, .blur-reveal.revealed { filter: blur(0); }' +
'.blur-reveal-hint { font-size: 11px; color: #9ca3af; display: block; margin-top: 4px; }' +
'.blur-reveal.revealed .blur-reveal-hint { display: none; }';
document.head.appendChild(style);
document.querySelectorAll('[data-blur-reveal]').forEach(function(el) {
el.classList.add('blur-reveal');
var hint = document.createElement('span');
hint.className = 'blur-reveal-hint';
hint.textContent = '👆 Hover to reveal';
el.parentNode.insertBefore(hint, el.nextSibling);
el.addEventListener('click', function() {
el.classList.add('revealed');
});
});
})();3. Pure CSS version (no JS)
.spoiler { filter: blur(6px); transition: filter 0.4s; cursor: pointer; }
.spoiler:hover { filter: blur(0); }Conclusion
A clean reveal effect to spark curiosity. Use cases:
- FAQ or quiz answers
- Hidden results or scores
- Exclusive content with a teaser
Hover over blurred text to reveal it
What is Gemeos' revenue?
That’s our little secret 😄
👆 Hover to reveal


