Floating
3D & Depth · Animated · pure CSS
The word hovers above the page, casting a large soft shadow far below while it gently bobs — levitation, not a tight drop shadow.
How it works
Floating is an animated 3d & depth text effect rendered entirely in CSS. It works on a single element — just add the .text-effect class, with no extra HTML.
Controls
Floating exposes 3 dedicated controls — Hue, Height 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
/* Floating — made with TEXT-FX · https://text-fx.app
* HTML: just put the class on any element.
* Font: 'Syne', sans-serif (load from Google Fonts).
*/
.text-effect {
font-family: 'Syne', sans-serif;
font-weight: 400;
letter-spacing: 4px;
text-transform: none;
}
.text-effect {
color: hsl(209 60% 78%);
filter: drop-shadow(0 10px 9px hsl(209 50% 4% / 0.5));
animation: text-effect-float 3.7s ease-in-out infinite;
}
@keyframes text-effect-float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-4px); }
}
Pure CSS — just add the .text-effect class to any element.
- Category
- 3D & Depth
- Type
- Animated
- Browser support
- Large soft drop-shadow + gentle bob animation
- Capabilities
- pure