Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Transitions and Transforms Adding 3D Effects with CSS Build a Rotating 3D Cube

__ROLLER__ Angel
__ROLLER__ Angel
25,606 Points

.right side is not positioned in my cube how it should be

Anyone know what is wrong with my cube? It appears to be the same code as Guil but I must be missing something. I took a snapshot of my workspace at http://w.trhou.se/zs995k9tq1

1 Answer

Steven Parker
Steven Parker
231,248 Points

It looks like you are missing the rotateY part of the back transforms. Here is what he has in the video:

.back {
  transform: translateZ(-110px) rotateY(270deg);
  transform-origin: center left;
}

Other than that, you've got it. :+1: Sure is pretty!

__ROLLER__ Angel
__ROLLER__ Angel
25,606 Points

Thank you for spotting that. =D