2.5D technique

Layer 2D images in 3D space to add depth to elements in your project.

Step into the following dimension — or semi-dimension — and grasp the art of stacking 2D illustrations in a 3D environment using the Webflow Designer. We’ll employ changes to produce the impression of 2.5D by introducing dimension to the elements within your project.

A card and a profile photo exhibit dimension and seem to float in 2.5D space.

Throughout this tutorial you’ll comprehend:

  1. Methods for converting a Section into a camera
  2. Techniques to make objects three-dimensional
  3. Ways to introduce dimension to objects

Converting a Section into a camera

Lets transform a Section into a camera so that we can observe our 2.5D outcome on any child elements within it: 

  1. Pick your Section
  2. Access Style panel > Effects
  3. Press on 2D & 3D transforms disclosure dots to unveil Transform settings
  4. Incorporate a Children perspective by specifying a Distance (e.g., 1000 pixels)
A Section is selected in the Webflow Navigator. 
The Children perspective of a Section is adjusted to have a Distance of 1000 pixels.

Ways to make objects three-dimensional

Now that our Section serves as a camera for any elements within it, lets enhance a three-dimensional effect to an element in the Section

  1. Choose an element within the Section (e.g., a “Card” Div block)
  2. Access Style panel > Effects
  3. Tap on the 2D & 3D transforms additional icon to access Transform settings
  4. Select Rotate as the style and pivot the element on the Y-axis (e.g., 29 degrees) 
A “Card” Div block is selected in the Webflow Navigator. 
A 29 degree rotation is set on the Y-axis of a Div block.

Techniques to introduce dimension to objects

Lets bestow an object with a 2.5D effect by imparting depth to child objects of the “Card” Div block:

  1. Choose an element within the “Card” Div block (e.g., “Profile” Div block
  2. Access Style panel > Effects
  3. Tap on the 2D & 3D transforms additional icon to access Transform settings
  4. Select Move as the style and adjust the “Profile” Div block along the Z-axis (e.g., 38 pixels) 
  5. Re-select the “Card” Div block
  6. Access Style panel > Effects
  7. Hit on the 2D & 3D transforms Rotate style that was previously implemented
  8. Rotate the element along the X and Y-axis as desired to exhibit the 2.5D depth effect recently crafted
A “Profile” Div block inside the “Card” Div block is selected in the Webflow Navigator.
A 38 pixel move is set on the Z-axis of the “Profile” Div block. 

There you have it — you’ve delved into the subsequent dimension!

A card and a profile photo exhibit dimension and seem to float in 2.5D space.

Invent more engaging interactions using our credit card demonstration and our scrollable mountain feature. Or elevate your learning and join our comprehensive Interactions & Animations course.

Ewan Mak
Latest posts by Ewan Mak (see all)