Skip to main content

Add a cool unfolding effect to sites with PFold

The plugin allow elements of a web page to be unfolded in various ways

The plugin allow elements of a web page to be unfolded in various ways

PFold is a "very experimental" jQuery plugin that makes it possible to open elements of a website in a 3D unfolding effect.

The demo shows several levels of unfolding, where each step of opening doubles the element size - as if you were unfolding a piece of paper. (Note this will only work in a modern web browser that supports CSS transforms).

There are three demos showing different unfolding patterns

There are three demos showing different unfolding patterns

The unfolding direction and the number of folding steps can be customised by the web designer, and for there's a simple fallback for older browsers.

The final content’s size will depend on the initial content’s size (set in the CSS), the folding directions and the number of folding steps

The final content’s size will depend on the initial content’s size (set in the CSS), the folding directions and the number of folding steps

The project, created by freelance web developer and designer Pedro Botelho, has been shared on Github.

Liked this? Read these!

Have you had a play with Pfold yet? We'd love to see what you've created it - share the URL in the comments!

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began over a decade ago. The current website team consists of five people: Editor Kerrie Hughes, Deputy Editor Rosie Hilder, Deals Editor Beren Neale, Senior News Editor Daniel Piper, and Staff Writer Amelia Bamsey. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.