AI CSS Animations

CSS 3D Text Effects

29 3D text effects in CSS: extruded and long-shadow text, rotating and flipping letters, folding titles and perspective effects.

Star Wars Text Crawl

Story text scrolls up a tilted plane and shrinks toward a vanishing point, like a space opera's opening crawl. A rotateX plane inside a perspective box, faded out at the far end with a mask.

3d · cinematic · loop

How to use these 3d text effects

Open any effect, copy the HTML into your markup and the CSS into your stylesheet. Nothing else is required. Classes are prefixed per effect so several can share a page.

To change the color, set --txt-color on the element or any ancestor. To change the size, set --txt-size: offsets, shadows and letter spacing are all in em, so they follow the font size.

One-shot effects such as the typewriter and the reveals play when the element appears. To trigger them later, add the class when you need it, or toggle animation-play-state.

Every snippet ships with a prefers-reduced-motion rule that jumps straight to the finished state for people who asked their OS for less motion, so the text is always readable.