Component · Text animations

Paper fold text effect

by Informeek Studio 11 November 2026
Live Click the headline or Fold it to crease it like paper

The prompt

Build a paper fold text effect for a print magazine card. Linen page (#e9e2d4) and a cream card (#fbf8f2, 6px radius). Top row "Crease Quarterly" in orange (#e4572e) uppercase and "Issue 09, Winter" in grey (#8a7f6d). The headline is two lines in a bold serif system stack (Iowan Old Style, Palatino, Georgia): "Paper" in ink #22303f and "remembers" in orange italic, 124px on desktop and 52px on phones. Cut the headline into four horizontal bands, each a nested div holding a full copy of the text shifted up by its band index, with overflow hidden. The bands hang from each other like an accordion: transform-origin at the top edge, the first rotated by the fold angle, the next by minus twice the angle, then plus twice, then minus twice, inside 1400px perspective with preserve-3d. Register the angle as a CSS @property and transition it over 1.1s with cubic-bezier(.65,0,.25,1) from 0 to 58 degrees, recentring the stack with cos() so it folds toward its middle. Shade the bands with a dark gradient whose opacity follows sin() of the angle, strong on the inward bands and light on the others. The headline folds and unfolds by itself every 3.4 seconds until someone clicks it, presses Enter or uses the "Fold it" button, which toggles its label and aria-pressed. For reduced motion leave it flat and switch instantly.

Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.

Use it in three steps

  1. Copy the prompt with the button above.
  2. Paste it into your AI site builder, or any AI chat that writes code.
  3. Make it yours by folding your own headline and choosing how many creases it has.

About this paper fold text effect

This paper fold text effect creases a headline the way you would fold a letter for an envelope. The two lines are cut into four strips, and when the fold starts the strips tilt in alternate directions so the words collapse into a zig zag, with the inward strips falling into shadow. Then the sheet opens again and the headline reads normally.

Each strip holds a full copy of the headline, moved up so only its own slice shows through, and each strip hangs from the bottom edge of the one above. That nesting is what makes the strips stay joined at the creases. A single angle drives everything, animated as a registered CSS property, and CSS trigonometry keeps the folded stack centred and sets the depth of the shading.

Why the prompt works

  • It explains the nesting. Hanging each strip from the last keeps the creases closed.
  • It uses one variable. An animated angle feeds the rotation, centring and shadow together.
  • It picks a fold that reads. Fifty eight degrees is folded enough to surprise and open enough to recognise.

Where to use it

Magazines and publishers, stationery and print shops, letter writing services and invitations where paper is part of the product.

The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.

Keep exploring

More prompts like this

See the collection →
Live
Component · Text animations

Blur text reveal headline

Live
Component · Text animations

Text scramble decrypt effect

Live
Component · Text animations

Rotating word headline