Hover Depth
Interactive & Advanced · Static · pure CSS
The word lies flat until hovered, then pops up off the page as a stacked shadow extrudes underneath. CSS-only interactive depth.
How it works
Hover Depth is a static interactive & advanced text effect rendered entirely in CSS. It works on a single element — just add the .text-effect class, with no extra HTML.
Controls
Hover Depth exposes 3 dedicated controls — Hue, Depth and Speed — on top of the shared type controls (font, weight, letter-spacing and case). Open it in the generator to tune every value live, then copy the updated CSS.
CSS
/* Hover Depth — made with TEXT-FX · https://text-fx.app
* HTML: just put the class on any element.
* Font: 'Unbounded', sans-serif (load from Google Fonts).
*/
.text-effect {
font-family: 'Unbounded', sans-serif;
font-weight: 400;
letter-spacing: 4px;
text-transform: uppercase;
}
.text-effect {
color: hsl(70 80% 70%);
cursor: pointer;
transition: transform 0.19s ease, text-shadow 0.19s ease;
}
.text-effect:hover {
transform: translate(-2px, -2px);
text-shadow: 1px 1px 0 hsl(70 35% 28%), 2px 2px 0 hsl(70 35% 28%), 3px 3px 0 hsl(70 35% 28%), 4px 4px 0 hsl(70 35% 28%);
}
Pure CSS — just add the .text-effect class to any element.
- Category
- Interactive & Advanced
- Type
- Static
- Browser support
- Extrudes on :hover via a stacked offset shadow — static preview is flat.
- Capabilities
- pure