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 (opens in new tab) is a "very experimental" jQuery plugin that makes it possible to open elements of a website in a 3D unfolding effect.

The demo (opens in new tab) 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 (opens in new tab), has been shared on Github (opens in new tab).

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!

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of six full-time members of staff: Editor Kerrie Hughes, Deputy Editor Rosie Hilder, Deals Editor Beren Neale, Senior News Editor Daniel Piper, Digital Arts and Design Editor Ian Dean, and Staff Writer Amelia Bamsey, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.