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.

Floating

CSS

/* Floating — generated with TEXT-FX
 * 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

Related 3D & Depth effects