Perspective Tilt
3D & Depth · Static · pure CSS
The word leans back into the page on a CSS 3D perspective with a stacked shadow extruding toward you. A solid slab receding in space.
How it works
Perspective Tilt is a static 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
Perspective Tilt exposes 4 dedicated controls — Hue, Tilt X, Tilt Y and Depth — 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
/* Perspective Tilt — 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: 700;
letter-spacing: -2px;
text-transform: none;
}
.text-effect {
display: inline-block;
color: hsl(113 70% 72%);
transform: perspective(520px) rotateX(32deg) rotateY(-18deg);
transform-style: preserve-3d;
text-shadow: -1px 1px 0 hsl(113 50% 30%), -2px 2px 0 hsl(113 50% 30%), -3px 3px 0 hsl(113 50% 30%), -4px 4px 0 hsl(113 50% 30%), -5px 5px 0 hsl(113 50% 30%), -6px 6px 0 hsl(113 50% 30%), -7px 7px 0 hsl(113 50% 30%), -8px 8px 0 hsl(113 50% 30%);
}
Pure CSS — just add the .text-effect class to any element.
- Category
- 3D & Depth
- Type
- Static
- Browser support
- All modern browsers
- Capabilities
- pure