Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

__ROLLER__ Angel
__ROLLER__ Angel
25,594 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
215,939 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,594 Points

Thank you for spotting that. =D