Date : 13th June 2026

Not yet suitable for Firefox

Click/Tap text panel to unfold

A realistic sheet of grey paper lying on a flat surface, densely filled with typed text from top to bottom. The top-right corner of the paper is folded over, creating a visible crease and showing the underside of the page.

Soft natural lighting, clear readable text, subtle shadows from the folded corner, high-detail paper texture, minimallist background, photorealistic style. Links can be selected in the body and fold of the page. All the text is selectable when unfolded.

The 'paper' size is responsive and the corner fold adjusts to stay from top center to right center. Using CSS container-type: size; and aspect-ratio: calc(1cqw / 1cqh).

Animated folding corner text using CSS.

Click/tap the paper to unfold the corner

A realistic sheet of grey paper lying on a flat surface, densely filled with typed text from top to bottom. The top-right corner of the paper is folded over, creating a visible crease and showing the underside of the page.

Soft natural lighting, clear readable text, subtle shadows from the folded corner, high-detail paper texture, minimallist background, photorealistic style. Links can be selected in the body and fold of the page. All the text is selectable when unfolded.

The 'paper' size is responsive and the corner fold adjusts to stay from top center to right center. Using CSS container-type: size; and aspect-ratio: calc(1cqw / 1cqh).

Animated folding corner text using CSS.

Click/tap the paper to unfold the corner

A realistic sheet of grey paper lying on a flat surface, densely filled with typed text from top to bottom. The top-right corner of the paper is folded over, creating a visible crease and showing the underside of the page.

Soft natural lighting, clear readable text, subtle shadows from the folded corner, high-detail paper texture, minimallist background, photorealistic style. Links can be selected in the body and fold of the page. All the text is selectable when unfolded.

The 'paper' size is responsive and the corner fold adjusts to stay from top center to right center. Using CSS container-type: size; and aspect-ratio: calc(1cqw / 1cqh).

Animated folding corner text using CSS.

Click/tap the paper to unfold the corner

Information

A demonstration of folding a corner of a text panel that is responsive. The corner will always be across the 50% of the top and 50% of the right edge.

The aspect ratio of the panel is calculated using container-type: size; and aspect-ratio: calc(1cqw / 1cqh);

The link text can be made to appear across the fold.

Not sure this is useful but it was a challenge :)

Please consider making a donation, every little helps.